dag / vim-fish

Vim support for editing fish scripts
MIT License
431 stars 59 forks source link

Folding with syntax or foldexpr #2

Closed dag closed 11 years ago

dag commented 11 years ago

It would be nice to have support for foldmethod=syntax or foldmethod=expr. The latter is likely faster and lets the syntax file stay clean. At a minimum function should be folded, but anything that end terminates could be considered for folding.