Text markers for Folding

greppo 5 years ago 0
Vim supports text markers for folding, by default {{{ and }}} demarcate the start and end of a folding region.   These can be nested.  Typically I include {{{ and }}} in comments to mark logical blocks of code or XML.
I would like a means in the Sublime Text API to create nested folds based on a marker string independent of the syntax.