vim-perl / vim-perl

Support for Perl 5 in Vim
http://groups.google.com/group/vim-perl
Vim License
496 stars 123 forks source link

Should we be setting foldmethod? #222

Open petdance opened 8 years ago

petdance commented 8 years ago

Turning on foldmethod for everyone with

setlocal foldmethod=syntax

is a performance slowdown. (This could also mean we need to speed up folding)

Is it appropriate to turn on foldmethod for everyone and make them pay the performance penalty for it?

neybar commented 8 years ago

I have a few older machines that I need to work on periodically, and I have to disable the syntax folding. It is incredibly bad.

hoelzro commented 7 years ago

17 syntax files (including ours) and 5 ftplugin files seem to enable syntax folding, making them the minority. Syntax folding is fairly simple to turn off, though, and this has been the default for a long time now - I would prefer we speed up folding rather than break existing configurations.