Friday, August 8, 2014

Re: vim-7.4.389 UI extremely sluggish with custom syntax highlighting plugins

Looks like it's patch 7.4.362:
Problem:    When matchaddpos() uses a length smaller than the number of bytes
    in the (last) character the highlight continues until the end of
    the line.
Solution:   Change condition from equal to larger-or-equal.
Files:     src/screen.c

It's a very small change but apparently problematic. Can it be reverted or rethought?

David


On Fri, Aug 8, 2014 at 12:40 PM, David Barnett <daviebdawg@gmail.com> wrote:
It looks like some change between 7.4.316 and 7.4.389 has made vim extremely sluggish when just scrolling around in files if the vim-indent-guides plugin is installed: https://github.com/nathanaelkane/vim-indent-guides/issues/75. This plugin does custom syntax highlighting, which may be a little dirty, but it's surprising that performance got so much worse all the sudden.

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

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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 the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: