Turn off and on without reloading

This commit is contained in:
Ron Damen
2013-02-27 08:40:58 +01:00
committed by Andy Stewart
parent 270613bd71
commit 29eb440cac

View File

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