From 29eb440cac5f5f8f8fe80d168feb9bbd834887a9 Mon Sep 17 00:00:00 2001 From: Ron Damen Date: Wed, 27 Feb 2013 08:40:58 +0100 Subject: [PATCH] Turn off and on without reloading --- plugin/gitgutter.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index abf8d81..213990e 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -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