swekaj / php-foldexpr.vim

Vim folding for PHP with foldexpr
MIT License
41 stars 10 forks source link

Is there a way to disable certain folding: { blocks } and [blocks] ? #17

Open artfulrobot opened 9 years ago

artfulrobot commented 9 years ago

While these are useful, I often find they're a bit of overkill, esp. if a function has lots of if {} logic in it, I spend a lot of time opening folds (I know about zO)?

Is there an option to only fold classes, methods, functions, but not the lower level stuff?

Brilliant plug in anyway, thanks.

swekaj commented 9 years ago

There is not, at the moment. Shouldn't be too hard to add such a feature, though.

I'll try to take a look at it, but it might be a few days.