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
au!
au CursorMoved * call HighlightCurrentWord()
au CursorMovedI * call HighlightCurrentWord()
augroup END
" Do not mark input from stdin as modified