clever-f.vim icon indicating copy to clipboard operation
clever-f.vim copied to clipboard

clear highlights after a normal operation

Open BertrandSim opened this issue 2 years ago • 1 comments

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 avatar Jul 29 '22 08:07 BertrandSim

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)

BertrandSim avatar Jul 29 '22 08:07 BertrandSim

Thank you.

rhysd avatar Sep 20 '22 01:09 rhysd