mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-06 02:08:49 +00:00
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
|
{
|
||
|
"comments": {
|
||
|
"blockComment": [
|
||
|
"<!--",
|
||
|
"-->"
|
||
|
]
|
||
|
},
|
||
|
"brackets": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"]
|
||
|
],
|
||
|
"colorizedBracketPairs": [
|
||
|
],
|
||
|
"autoClosingPairs": [
|
||
|
{
|
||
|
"open": "{",
|
||
|
"close": "}"
|
||
|
},
|
||
|
{
|
||
|
"open": "[",
|
||
|
"close": "]"
|
||
|
},
|
||
|
{
|
||
|
"open": "(",
|
||
|
"close": ")"
|
||
|
},
|
||
|
{
|
||
|
"open": "<",
|
||
|
"close": ">",
|
||
|
"notIn": [
|
||
|
"string"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"surroundingPairs": [
|
||
|
["(", ")"],
|
||
|
["[", "]"],
|
||
|
["`", "`"],
|
||
|
["_", "_"],
|
||
|
["*", "*"],
|
||
|
["{", "}"],
|
||
|
["'", "'"],
|
||
|
["\"", "\""]
|
||
|
],
|
||
|
"folding": {
|
||
|
"offSide": true,
|
||
|
"markers": {
|
||
|
"start": "^\\s*<!--\\s*#?region\\b.*-->",
|
||
|
"end": "^\\s*<!--\\s*#?endregion\\b.*-->"
|
||
|
}
|
||
|
},
|
||
|
"wordPattern": { "pattern": "(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*", "flags": "ug" },
|
||
|
}
|