mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Escape ' characters in filepaths.
This commit is contained in:
@@ -70,7 +70,7 @@ function! s:exists_current_file()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:directory_of_current_file()
|
function! s:directory_of_current_file()
|
||||||
return expand("%:p:h")
|
return shellescape(expand("%:p:h"))
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:command_in_directory_of_current_file(cmd)
|
function! s:command_in_directory_of_current_file(cmd)
|
||||||
|
|||||||
Reference in New Issue
Block a user