mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Now working with shellslash
This commit is contained in:
@@ -106,7 +106,8 @@ function! s:discard_stdout_and_stderr()
|
||||
endfunction
|
||||
|
||||
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
|
||||
|
||||
function! s:is_in_a_git_repo()
|
||||
|
||||
Reference in New Issue
Block a user