From 5fae75637cca9cbccc4b2a84120f24f338b91e73 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 20 Feb 2013 14:21:57 +0100 Subject: [PATCH] Avoid error on windows In order to avoid an error "Invalid filename", this little fix get gitgutter working on windows with msysgit --- plugin/gitgutter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index bcb0fad..84a01c1 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -30,7 +30,7 @@ endfunction " Utility {{{ function! s:current_file() - return expand('%') + return expand("%:p") endfunction function! s:is_in_a_git_repo()