]> git.lizzy.rs Git - rust.git/blob - editors/code/language-configuration.json
Auto merge of #13647 - nyz93:fix/tuple-to-named-struct, r=Veykril
[rust.git] / editors / code / language-configuration.json
1 {
2     "comments": {
3         "lineComment": "//",
4         "blockComment": ["/*", "*/"]
5     },
6     "brackets": [
7         ["{", "}"],
8         ["[", "]"],
9         ["(", ")"]
10     ],
11     "colorizedBracketPairs": [
12         ["{", "}"],
13         ["[", "]"],
14         ["(", ")"]
15     ],
16     "autoClosingPairs": [
17         { "open": "{", "close": "}" },
18         { "open": "[", "close": "]" },
19         { "open": "(", "close": ")" },
20         { "open": "\"", "close": "\"", "notIn": ["string"] },
21         { "open": "/*", "close": " */" }
22     ],
23     "autoCloseBefore": ";:.,=}])> \n\t",
24     "surroundingPairs": [
25         ["{", "}"],
26         ["[", "]"],
27         ["(", ")"],
28         ["<", ">"],
29         ["\"", "\""],
30         ["'", "'"]
31     ],
32     "indentationRules": {
33         "increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",
34         "decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]"
35     },
36     "folding": {
37         "markers": {
38             "start": "^\\s*//\\s*#?region\\b",
39             "end": "^\\s*//\\s*#?endregion\\b"
40         }
41     }
42 }