Sunday, August 10, 2014

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

David Barnett wrote:

> You're not asking for the output of getmatches(), are you? Or are you
> talking about debugging in gdb? I haven't found any way to query match
> positions from within vim.
>
> The repro case I'm using now is
>
> vim -c "highlight def link RightMargin Error | exec ('match RightMargin
> /\%<42v.\%>41v/')" SOMEFILE
>
> So you don't need any plugins to verify.

The pattern is what I need to reproduce it easily. It's not obvious from
the plugin what patterns it generates.

I don't see it being slow with this example though. But it would be
enough to single step through the code to find out why the "==" to ">="
change matters for this.

Did you try that example with "vim -u NONE -N", is it still slow then?
If not then something else would matter.

--
hundred-and-one symptoms of being an internet addict:
23. You can't call your mother...she doesn't have a modem.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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: