mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 19:43:47 -05:00
Now working with shellslash
This commit is contained in:
@@ -106,7 +106,8 @@ function! s:discard_stdout_and_stderr()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:command_in_directory_of_file(cmd)
|
function! s:command_in_directory_of_file(cmd)
|
||||||
return 'cd ' . s:directory_of_file() . ' && ' . a:cmd
|
let s:cmd_in_dir = 'cd ' . s:directory_of_file() . ' && ' . a:cmd
|
||||||
|
return substitute(s:cmd_in_dir, "'", '"', 'g')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:is_in_a_git_repo()
|
function! s:is_in_a_git_repo()
|
||||||
|
|||||||
Reference in New Issue
Block a user