markonm / traces.vim

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

Setting 'linebreak' messes up highlighting #47

Closed lkintact closed 3 months ago

lkintact commented 3 months ago
  1. Run gvim.exe --clean classes.txt classes.txt
  2. Execute :packadd traces.vim-master
  3. Execute :set linebreak
  4. Type :%s/, /./g. You should see something like this (note the region with incorrect highlighting outlined in red):

incorrect_highlighting

Vim 9.1.443 Traces 1.1.0.

markonm commented 3 months ago

This is related to #18. I don't know how to fix it.

lkintact commented 3 months ago

Thanks for letting know anyway, your plugin is of much help!