mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03:48 -05:00
Fix GitGutter argument errors on save and toggle.
This commit is contained in:
@@ -94,7 +94,7 @@ command GitGutterDisable call GitGutterDisable()
|
|||||||
|
|
||||||
function! GitGutterEnable()
|
function! GitGutterEnable()
|
||||||
let g:gitgutter_enabled = 1
|
let g:gitgutter_enabled = 1
|
||||||
call GitGutter(utility#current_file())
|
call GitGutter(utility#current_file(), 0, 0)
|
||||||
endfunction
|
endfunction
|
||||||
command GitGutterEnable call GitGutterEnable()
|
command GitGutterEnable call GitGutterEnable()
|
||||||
|
|
||||||
@@ -219,7 +219,7 @@ augroup gitgutter
|
|||||||
autocmd FocusGained * call GitGutterAll()
|
autocmd FocusGained * call GitGutterAll()
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
autocmd BufRead,BufWritePost,FileChangedShellPost * call GitGutter(utility#current_file())
|
autocmd BufRead,BufWritePost,FileChangedShellPost * call GitGutter(utility#current_file(), 0, 0)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
autocmd ColorScheme * call highlight#define_sign_column_highlight() | call highlight#define_highlights()
|
autocmd ColorScheme * call highlight#define_sign_column_highlight() | call highlight#define_highlights()
|
||||||
|
|||||||
Reference in New Issue
Block a user