duganchen/vim-soy — pull request #1 by gramic (2012-02-23 15:41:44+00:00)
Title: Add folding at basic template level only.

I saw a small tutorial on folding and decided to use it in practice for soy folding.

Generally the {namespace} is never folded, just the /** comments */ and {template} are folded.
It seams that folding can be done with foldmethod=syntax, but I did it with expr easier.
When someone does it better in the syntax file, we can remove this one.