Fix GitGutter argument errors on save and toggle.

This commit is contained in:
darrenli
2014-01-07 21:40:34 +01:00
committed by Andy Stewart
parent e88f9e16b4
commit 0218e08c9e

View File

@@ -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()