Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-27 Fir de Conversatie Christian Brabandt
Hi Peter! On Fr, 18 Nov 2011, Peter Odding wrote: Anyway in the worst case I'll just disable syntax folding for buffers where line('$') 1000 holds. At least then I still get to enjoy all of the other goodies Vim has to offer. I'm definitely not switching back to an IDE :-P. I'll keep

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-18 Fir de Conversatie Peter Odding
Like Ingo I'm sorry I can't get more specific, but that's kind of the problem: This issue is really hard to diagnose properly because it basically… seems like syntax folding has some horrible worst case performance which only shows once in a while, in large buffers, but once it manifests you can

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-18 Fir de Conversatie Peter Odding
Anyway in the worst case I'll just disable syntax folding for buffers where line('$') 1000 holds. At least then I still get to enjoy all of the other goodies Vim has to offer. I'm definitely not switching back to an IDE :-P. I'll keep vim-dev up to date in case I make any progress on this issue.

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-10 Fir de Conversatie Axioplase
2011/11/10 Peter Odding pe...@peterodding.com: Like Ingo I'm sorry I can't get more specific, but that's kind of the problem: This issue is really hard to diagnose properly because it basically… seems like syntax folding has some horrible worst case performance which only shows once in a

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-09 Fir de Conversatie Ingo Karkat
On 08-Nov-2011 17:59, Ben Fritz wrote: Have you tried the advice at http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text ? It's obviously not originally meant to speed things up, but has that nice side effect. I use this tip, and yet occasionally encounter such slowdowns

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-09 Fir de Conversatie Ben Fritz
On Nov 9, 5:11 am, Ingo Karkat sw...@ingo-karkat.de wrote: On 08-Nov-2011 17:59, Ben Fritz wrote: Have you tried the advice at http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text? It's obviously not originally meant to speed things up, but has that nice side effect. I

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-09 Fir de Conversatie Peter Odding
Have you tried the advice at http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text? It's obviously not originally meant to speed things up, but has that nice side effect. I use this tip, and yet occasionally encounter such slowdowns (often when editing large Vim scripts (ft=vim)).

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-09 Fir de Conversatie Charles Campbell
Peter Odding wrote: Have you tried the advice at http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text? It's obviously not originally meant to speed things up, but has that nice side effect. I use this tip, and yet occasionally encounter such slowdowns (often when editing large

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-09 Fir de Conversatie Peter Odding
Have you tried the advice at http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text? I use this tip, and yet occasionally encounter such slowdowns (often whenediting large Vim scripts (ft=vim)). There's noticeable delay in moving the cursor, and insert-completion (i_CTRL-N) is also

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-09 Fir de Conversatie Ben Fritz
On Nov 9, 4:22 pm, Peter Odding pe...@peterodding.com wrote: Anyway in the worst case I'll just disable syntax folding for buffers where line('$') 1000 holds. At least then I still get to enjoy all of the other goodies Vim has to offer. I'm definitely not switching back to an IDE :-P. I'll

foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-08 Fir de Conversatie R. Tyler Croy
Somebody on IRC recommended I bring this issue up on the dev list last week, so here I am. I've done a fair bit of debugging/profiling to determine what was making my Vim instances so slow with larger (1k lines) Ruby files. I've tracked it down to foldmethod=syntax, which left me with the

Re: foldmethod=syntax with Ruby slows Vim down tremendously

2011-11-08 Fir de Conversatie Ben Fritz
On Nov 8, 2:33 am, R. Tyler Croy ty...@monkeypox.org wrote: Somebody on IRC recommended I bring this issue up on the dev list last week, so here I am. I've done a fair bit of debugging/profiling to determine what was making my Vim instances so slow with larger (1k lines) Ruby files.