Add region markers folding for Go

This commit is contained in:
Fabio 'c0m3tx' Vitale 2019-03-06 11:50:36 +01:00
parent e6bc6699a4
commit 66019c79ff

View file

@ -27,5 +27,12 @@
"indentationRules": {
"increaseIndentPattern": "^.*(\\bcase\\b.*:|\\bdefault\\b:|(\\b(func|if|else|switch|select|for|struct)\\b.*)?{[^}\"'`]*|\\([^)\"'`]*)$",
"decreaseIndentPattern": "^\\s*(\\bcase\\b.*:|\\bdefault\\b:|}[)}]*[),]?|\\)[,]?)$"
},
"folding": {
"offSide": false,
"markers": {
"start": "^//\\s?Region\\b",
"end": "^//\\s?EndRegion\\b"
}
}
}