language-configuration.json raw
1 {
2 "comments": {
3 "lineComment": "//",
4 "blockComment": ["/*", "*/"]
5 },
6 "brackets": [
7 ["{", "}"],
8 ["[", "]"],
9 ["(", ")"]
10 ],
11 "autoClosingPairs": [
12 { "open": "{", "close": "}" },
13 { "open": "[", "close": "]" },
14 { "open": "(", "close": ")" },
15 { "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
16 { "open": "`", "close": "`", "notIn": ["string", "comment"] },
17 { "open": "'", "close": "'", "notIn": ["string", "comment"] }
18 ],
19 "surroundingPairs": [
20 ["{", "}"],
21 ["[", "]"],
22 ["(", ")"],
23 ["\"", "\""],
24 ["`", "`"],
25 ["'", "'"]
26 ],
27 "indentationRules": {
28 "increaseIndentPattern": "^.*(\\{[^}\"'`]*|\\[[^\\]\"'`]*|\\([^)\"'`]*)$",
29 "decreaseIndentPattern": "^\\s*(\\}|\\]|\\)|case\\b|default:)"
30 },
31 "folding": {
32 "markers": {
33 "start": "^\\s*//\\s*#?region\\b",
34 "end": "^\\s*//\\s*#?endregion\\b"
35 }
36 },
37 "wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)"
38 }
39