Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vimagit
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
jreybert
vimagit
Commits
19adac1d
Commit
19adac1d
authored
Oct 12, 2016
by
Jerome Reybert
Browse files
Options
Downloads
Patches
Plain Diff
plugin/magit.vim: escape vimagit path to solve space issue fix #89
parent
36c277ea
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
plugin/magit.vim
+2
-1
2 additions, 1 deletion
plugin/magit.vim
syntax/magit.vim
+2
-1
2 additions, 1 deletion
syntax/magit.vim
with
4 additions
and
2 deletions
plugin/magit.vim
+
2
−
1
View file @
19adac1d
...
@@ -15,7 +15,8 @@ let g:vimagit_version = [1, 6, 0]
...
@@ -15,7 +15,8 @@ let g:vimagit_version = [1, 6, 0]
" source common file. variables in common file are shared with plugin and
" source common file. variables in common file are shared with plugin and
" syntax files
" syntax files
execute
'source '
.
resolve
(
expand
(
'<sfile>:p:h'
))
.
'/../common/magit_common.vim'
let
g:vimagit_path
=
fnameescape
(
resolve
(
expand
(
'<sfile>:p:h'
)))
execute
'source '
.
g:vimagit_path
.
'/../common/magit_common.vim'
" these mappings are broadly applied, for all vim buffers
" these mappings are broadly applied, for all vim buffers
let
g:magit_show_magit_mapping
=
get
(
g
:,
'magit_show_magit_mapping'
,
'<leader>M'
)
let
g:magit_show_magit_mapping
=
get
(
g
:,
'magit_show_magit_mapping'
,
'<leader>M'
)
...
...
This diff is collapsed.
Click to expand it.
syntax/magit.vim
+
2
−
1
View file @
19adac1d
...
@@ -2,7 +2,8 @@ if exists("b:current_syntax")
...
@@ -2,7 +2,8 @@ if exists("b:current_syntax")
finish
finish
endif
endif
execute
'source '
.
resolve
(
expand
(
'<sfile>:p:h'
))
.
'/../common/magit_common.vim'
let
s:vimagit_path
=
fnameescape
(
resolve
(
expand
(
'<sfile>:p:h'
)))
execute
'source '
.
s:vimagit_path
.
'/../common/magit_common.vim'
syn
case
match
syn
case
match
syn
sync
minlines
=
50
syn
sync
minlines
=
50
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment