|
@@ -64,10 +64,6 @@
|
|
|
"}"
|
|
|
]
|
|
|
],
|
|
|
- "indentationRules": {
|
|
|
- "increaseIndentPattern": "^\\s*((class|static func|func|else|elif|for|if|match|while|enum)|(.*\\sdo\\b))\\b[^\\{;]*$",
|
|
|
- "decreaseIndentPattern": "^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(else|elif)\\b)"
|
|
|
- },
|
|
|
"folding": {
|
|
|
"offSide": true,
|
|
|
"markers": {
|
|
@@ -77,9 +73,9 @@
|
|
|
},
|
|
|
"onEnterRules": [
|
|
|
{
|
|
|
- "beforeText": "^\\s*$",
|
|
|
+ "beforeText": ":\\s*$",
|
|
|
"action": {
|
|
|
- "indent": "none"
|
|
|
+ "indent": "indent"
|
|
|
}
|
|
|
}
|
|
|
]
|