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