mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Avoid error on windows
In order to avoid an error "Invalid filename", this little fix get gitgutter working on windows with msysgit
This commit is contained in:
@@ -30,7 +30,7 @@ endfunction
|
|||||||
" Utility {{{
|
" Utility {{{
|
||||||
|
|
||||||
function! s:current_file()
|
function! s:current_file()
|
||||||
return expand('%')
|
return expand("%:p")
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:is_in_a_git_repo()
|
function! s:is_in_a_git_repo()
|
||||||
|
|||||||
Reference in New Issue
Block a user