Fix "static func" indent error (#279)

This commit is contained in:
Quan
2022-03-20 00:32:57 +08:00
committed by GitHub
parent f21d7517c4
commit 293cc8c1fb

View File

@@ -23,7 +23,7 @@
["{", "}"]
],
"indentationRules": {
"increaseIndentPattern": "^\\s*((class|func|else|elif|for|if|match|while|enum)|(.*\\sdo\\b))\\b[^\\{;]*$",
"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": {