mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
reformat
This commit is contained in:
parent
0380d982f9
commit
1040c0091e
2 changed files with 8 additions and 26 deletions
|
@ -1,9 +1,6 @@
|
|||
{
|
||||
"comments": {
|
||||
"blockComment": [
|
||||
"<!--",
|
||||
"-->"
|
||||
]
|
||||
"blockComment": ["<!--", "-->"]
|
||||
},
|
||||
"brackets": [
|
||||
["{", "}"],
|
||||
|
@ -13,25 +10,10 @@
|
|||
"colorizedBracketPairs": [
|
||||
],
|
||||
"autoClosingPairs": [
|
||||
{
|
||||
"open": "{",
|
||||
"close": "}"
|
||||
},
|
||||
{
|
||||
"open": "[",
|
||||
"close": "]"
|
||||
},
|
||||
{
|
||||
"open": "(",
|
||||
"close": ")"
|
||||
},
|
||||
{
|
||||
"open": "<",
|
||||
"close": ">",
|
||||
"notIn": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
{ "open": "{", "close": "}" },
|
||||
{ "open": "[", "close": "]" },
|
||||
{ "open": "(", "close": ")" },
|
||||
{ "open": "<", "close": ">", "notIn": [ "string" ] }
|
||||
],
|
||||
"surroundingPairs": [
|
||||
["(", ")"],
|
||||
|
@ -50,5 +32,5 @@
|
|||
"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" },
|
||||
"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" }
|
||||
}
|
||||
|
|
|
@ -10,14 +10,14 @@
|
|||
],
|
||||
"scopeName": "text.html.markdown.rustdoc",
|
||||
"repository": {
|
||||
"markdown":{
|
||||
"markdown": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "text.html.markdown"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fenced_code_block":{
|
||||
"fenced_code_block": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#fenced_code_block_rust"
|
||||
|
|
Loading…
Reference in a new issue