markonm / traces.vim

Range, pattern and substitute preview for Vim
MIT License
735 stars 13 forks source link

substitute highlighting no longer works until after replacement #17

Closed kirjavascript closed 6 years ago

kirjavascript commented 6 years ago

video: https://gfycat.com/FarflungBlondFlea

markonm commented 6 years ago

Please provide Vim and plugin versions and minimal vimrc.

kirjavascript commented 6 years ago

ah, that should've been the first thing I checked

after breaking down a minimal vimrc I discovered that it's due to interactions with this plugin: https://github.com/itchyny/lightline.vim - simply loading both causes the issue

if you don't support this kind of issue it can be closed, thanks

markonm commented 6 years ago

It should be fixed now for vim versions 8.0.1445+. For some reason the change slows down highlighting on older versions, so I disabled it there. Please test.

kirjavascript commented 6 years ago

can confirm it works now, thanks a lot!

markonm commented 6 years ago

You’re welcome.