clever-f.vim
clever-f.vim copied to clipboard
clear highlights after a normal operation
After a normal operation such as r
or x
, the highlights are not cleared. This PR fixes that, by calling s:finalize()
after a TextChanged event.
Imo the highlights should also be cleared after pressing d
(a ModeChanged
event). However, this event was only added in a recent version of vim (8.2.3430)
Thank you.