It seems to me that the default folds set up by the C syntax file work great! Just setting foldmethod=syntax should do the trick. This allows folding of /*...*/ comments as well. Since it is built into the syntax file, the below is unnecessary, since it already applies all the right groups. I'm not sure if Java and Cpp syntax files also do this or not, but I assume they do. Hopefully everything works just did v0.03 and I have run out of time, enjoy! outlinetoggle.vim from my plugin dir>>> The tip in the comment is great. As is the whole concept of easy folding. I popped this into my .vimrc:
Graph IRI | Count |
---|