Sunday, February 6, 2011

Re: Slow scrolling / high CPU usage with spaces-at-end-of-line syntax highlighting

On Sun, Feb 6, 2011 at 8:51 AM, Ben Schmidt
<mail_ben_schmidt@yahoo.com.au> wrote:
>> I've found that when I have these syntax rules enabled, Vim
>> occasionally gets into a state where it scrolls very slowly.
>
> I've seen this kind of behaviour without the plugin/rules you have; but
> always with syntax highlighting. Vim definitely from time to time gets
> itself into some kind of slow state. For me it doesn't just affect
> scrolling, but inserting text, too. I can see the characters appearing
> many seconds after I type them. I often find doing something like :e ggG
> fixes it, but even that is annoying. I'd love if if we could find the
> real cause of it an eliminate it!

Some syntax/*.vim scripts define an option to disable folding by the
syntax method and I have to disable it sometimes when editing R and
LaTeX files due to slowness.

--
Jakson

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

No comments: