mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-16 01:38:13 +00:00
42 lines
1 KiB
JSON
42 lines
1 KiB
JSON
{
|
|
"comments": {
|
|
"lineComment": "//",
|
|
"blockComment": ["/*", "*/"]
|
|
},
|
|
"brackets": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"]
|
|
],
|
|
"colorizedBracketPairs": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"]
|
|
],
|
|
"autoClosingPairs": [
|
|
{ "open": "{", "close": "}" },
|
|
{ "open": "[", "close": "]" },
|
|
{ "open": "(", "close": ")" },
|
|
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
|
{ "open": "/*", "close": " */" }
|
|
],
|
|
"autoCloseBefore": ";:.,=}])> \n\t",
|
|
"surroundingPairs": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"],
|
|
["<", ">"],
|
|
["\"", "\""],
|
|
["'", "'"]
|
|
],
|
|
"indentationRules": {
|
|
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",
|
|
"decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]"
|
|
},
|
|
"folding": {
|
|
"markers": {
|
|
"start": "^\\s*// region:\\b",
|
|
"end": "^\\s*// endregion\\b"
|
|
}
|
|
}
|
|
}
|