diff options
-rw-r--r-- | plugin/insert_suspend_hlsearch.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/insert_suspend_hlsearch.vim b/plugin/insert_suspend_hlsearch.vim index a5d8fd1..c177f04 100644 --- a/plugin/insert_suspend_hlsearch.vim +++ b/plugin/insert_suspend_hlsearch.vim @@ -30,6 +30,7 @@ function s:HlsearchRestore() if s:hlsearch_save set hlsearch endif + unlet s:hlsearch_save endfunction " Clear search highlighting as soon as I enter insert mode, and restore it |