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