mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Turn off and on without reloading
This commit is contained in:
@@ -237,10 +237,12 @@ endfunction
|
||||
|
||||
function! DisableGitGutter()
|
||||
let s:gitgutter_enabled = 0
|
||||
call s:clear_signs(s:current_file())
|
||||
endfunction
|
||||
|
||||
function! EnableGitGutter()
|
||||
let s:gitgutter_enabled = 1
|
||||
call GitGutter()
|
||||
endfunction
|
||||
|
||||
augroup gitgutter
|
||||
|
||||
Reference in New Issue
Block a user