diff --git a/.config/vim/vimrc.d/80-autocommands.vim b/.config/vim/vimrc.d/80-autocommands.vim index af29e5c..5de5ef1 100644 --- a/.config/vim/vimrc.d/80-autocommands.vim +++ b/.config/vim/vimrc.d/80-autocommands.vim @@ -60,6 +60,7 @@ function! HighlightCurrentWord() if exists('w:cword_match_id') call matchdelete(w:cword_match_id) unlet w:cword_match_id + unlet w:old_cword endif if (expand('') != '') let w:old_cword = expand('')