From 0218e08c9e298c0ad5971ece9f450ae4b9ee76e3 Mon Sep 17 00:00:00 2001 From: darrenli Date: Tue, 7 Jan 2014 21:40:34 +0100 Subject: [PATCH] Fix GitGutter argument errors on save and toggle. --- plugin/gitgutter.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index 22e346f..537fce5 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -94,7 +94,7 @@ command GitGutterDisable call GitGutterDisable() function! GitGutterEnable() let g:gitgutter_enabled = 1 - call GitGutter(utility#current_file()) + call GitGutter(utility#current_file(), 0, 0) endfunction command GitGutterEnable call GitGutterEnable() @@ -219,7 +219,7 @@ augroup gitgutter autocmd FocusGained * call GitGutterAll() endif else - autocmd BufRead,BufWritePost,FileChangedShellPost * call GitGutter(utility#current_file()) + autocmd BufRead,BufWritePost,FileChangedShellPost * call GitGutter(utility#current_file(), 0, 0) endif autocmd ColorScheme * call highlight#define_sign_column_highlight() | call highlight#define_highlights()