mvllow / modes.nvim

Prismatic line decorations for the adventurous vim user
550 stars 13 forks source link

fix: remove unnecessary reset #40

Closed fitrh closed 1 year ago

fitrh commented 1 year ago

This reset causes problems with f/t motion, e.g. vwf<Esc>t(, <Esc> resets the highlight to normal while we are still in visual mode, the correct behavior is:

This reset was intended as a catch all condition, but since we already have InsertLeave and ModeChanged to reset insert and visual mode, this reset is no longer needed.