vim:autocmd: Update cword highlight in insert mode

This commit is contained in:
2022-11-21 15:52:26 +01:00
parent ac99f373d3
commit 93ef5afaba

View File

@@ -67,6 +67,7 @@ endfunction
augroup highlight_current_word augroup highlight_current_word
au! au!
au CursorMoved * call HighlightCurrentWord() au CursorMoved * call HighlightCurrentWord()
au CursorMovedI * call HighlightCurrentWord()
augroup END augroup END
" Do not mark input from stdin as modified " Do not mark input from stdin as modified