rhysd / clever-f.vim

Extended f, F, t and T key mappings for Vim.
https://rhysd.github.io/clever-f.vim
1.01k stars 44 forks source link

clear highlights after a normal operation #70

Closed BertrandSim closed 1 year ago

BertrandSim commented 2 years ago

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.

BertrandSim commented 2 years ago

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)

rhysd commented 1 year ago

Thank you.