Were there any recent changes to vim's syntax highlighting that might account for the lag? Would it be possible to fix the regression, or revert the offending change until it can be implemented in a more performant way?
David
Problem: When matchaddpos() uses a length smaller than the number of bytesin the (last) character the highlight continues until the end ofthe line.Solution: Change condition from equal to larger-or-equal.Files: src/screen.c
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to a topic in the Google Groups "vim_use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_use/V6cRWX4c13E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_use+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
vim -c "highlight def link RightMargin Error | exec ('match RightMargin /\%<42v.\%>41v/')" SOMEFILE
Slight correction: 389 was the patch where I first noticed the problem, but then I bisected it down to 362 being the actual patch that introduced the slowdown.
David
Dominique, I see the problem with your example, and it persists with syntax off;
this is consistent with syntime report not showing anything interesting. The hi def link command has to be present, however.
Regards, John Little