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

Recent commits to clear highlighting break basic functionality of clever-f #73

Open atweiden opened 1 year ago

atweiden commented 1 year ago

Commits https://github.com/rhysd/clever-f.vim/commit/25e8c6bbbd11c63a831ecd88098643e3a20cbc3f and https://github.com/rhysd/clever-f.vim/commit/02e9871244a8df6cf0db4fd5799d93d0307a04f9 break basic functionality of clever-f for me: pressing f followed by the character to find, making a change, then pressing f again, and .-repeating the previous change, etc.

Unfortunately, the only way I’ve been able to get the old behaviour back is to revert to https://github.com/rhysd/clever-f.vim/commit/fd370f27cca93918184a8043220cef1aa440a1fd.

rhysd commented 1 year ago

what does your 'break' mean? it works fine on my local. describe

  1. reproducible steps
  2. actual behavior
  3. expected behavior
atweiden commented 1 year ago

Vim buffer example.

mutable_files="
 /usr/lib/modules/${_kernver}/modules.builtin.bin
 /usr/lib/modules/${_kernver}/modules.builtin.alias.bin
 /usr/lib/modules/${_kernver}/modules.softdep
 /usr/lib/modules/${_kernver}/modules.dep
 /usr/lib/modules/${_kernver}/modules.dep.bin
 /usr/lib/modules/${_kernver}/modules.symbols
 /usr/lib/modules/${_kernver}/modules.symbols.bin
 /usr/lib/modules/${_kernver}/modules.alias
 /usr/lib/modules/${_kernver}/modules.alias.bin
 /usr/lib/modules/${_kernver}/modules.devname"

Expected behaviour.

Using clever-f and vim-surround:

Actual behaviour.