edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Folding by syntax in with large ruby files kills performance #264

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Open large ruby file (like 1000 lines) and turn on foding by syntax
:set foldmethod=syntax

What is the expected output? What do you see instead?

MacVim slows down to not acceptable level. You have to change 
foldmethod to 'indent' to be able to work.

What version of MacVim and OS X are you using
Snapshot 52, OS X 10.6.2 compilation 10C540

Vim in terminal with the same confg files works normally with syntax 
based folding. 

Original issue reported on code.google.com by grzegorz...@gmail.com on 21 Mar 2010 at 9:33

GoogleCodeExporter commented 9 years ago
I recall that this problem has been discussed recently on the vim_use mailing 
list (or was it vim_dev).  As far as I 
can remember some patch to mainline Vim introduced this problem.  Dig around on 
those lists and see what you 
can find.  (I'd appreciate it if you report back here if you find anything.)

This is an issue with Vim -- it is not MacVim specific.  (I'll leave the issue 
open for now anyway, just in case...)

Original comment by bjorn.winckler@gmail.com on 22 Mar 2010 at 6:15

GoogleCodeExporter commented 9 years ago
I'm closing this issue, please take any further discussion to the vim_dev or 
vim_use groups.

Original comment by bjorn.winckler@gmail.com on 31 Dec 2010 at 1:56