php-foldexpr.vim icon indicating copy to clipboard operation
php-foldexpr.vim copied to clipboard

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

Open artfulrobot opened this issue 10 years ago • 1 comments

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.

artfulrobot avatar Mar 09 '15 17:03 artfulrobot

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.

swekaj avatar Mar 09 '15 17:03 swekaj