This commit is contained in:
csh
2025-08-29 16:54:46 +08:00
parent 540d58e86f
commit 2c4e5ac28a
8 changed files with 39 additions and 22 deletions
+2 -8
View File
@@ -22,15 +22,9 @@
["\"", "\""],
["'", "'"]
],
"folding": {
"markers": {
"start": "^\\s*\\{\\s*$",
"end": "^\\s*\\}\\s*$"
}
},
"wordPattern": "\\b[a-zA-Z_][a-zA-Z0-9_]*\\b",
"indentationRules": {
"increaseIndentPattern": "^.*(\\{[^}\"']*|\\([^)\"']*|\\[[^\\]\"']*)$",
"decreaseIndentPattern": "^(.*\\*\\/)?\\s*[\\}\\]\\)].*$"
"increaseIndentPattern": "^.*\\b([Bb][Ee][Gg][Ii][Nn]|[Dd][Oo]|[Tt][Hh][Ee][Nn]|[Ee][Ll][Ss][Ee])\\b.*$",
"decreaseIndentPattern": "^\\s*\\b([Ee][Nn][Dd])\\b.*$"
}
}