be3e823608
git-subtree-dir: lib/vscode git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
37 lines
854 B
JSON
37 lines
854 B
JSON
{
|
|
"comments": {
|
|
"lineComment": "//",
|
|
"blockComment": [ "/*", "*/" ]
|
|
},
|
|
"brackets": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"]
|
|
],
|
|
"autoClosingPairs": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"],
|
|
{ "open": "`", "close": "`", "notIn": ["string"]},
|
|
{ "open": "\"", "close": "\"", "notIn": ["string"]},
|
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"]}
|
|
],
|
|
"surroundingPairs": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"],
|
|
["\"", "\""],
|
|
["'", "'"],
|
|
["`", "`"]
|
|
],
|
|
"indentationRules": {
|
|
"increaseIndentPattern": "^.*(\\bcase\\b.*:|\\bdefault\\b:|(\\b(func|if|else|switch|select|for|struct)\\b.*)?{[^}\"'`]*|\\([^)\"'`]*)$",
|
|
"decreaseIndentPattern": "^\\s*(\\bcase\\b.*:|\\bdefault\\b:|}[)}]*[),]?|\\)[,]?)$"
|
|
},
|
|
"folding": {
|
|
"markers": {
|
|
"start": "^\\s*//\\s*#?region\\b",
|
|
"end": "^\\s*//\\s*#?endregion\\b"
|
|
}
|
|
}
|
|
} |