mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
fix: support auto-closing for triple backticks
This commit is contained in:
parent
657b33b0cb
commit
4346bbcd92
1 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,8 @@
|
|||
{ "open": "(", "close": ")" },
|
||||
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||||
{ "open": "/*", "close": " */", "notIn": ["string"] },
|
||||
{ "open": "`", "close": "`", "notIn": ["string"] }
|
||||
{ "open": "`", "close": "`", "notIn": ["string"] },
|
||||
{ "open": "```", "close": "```", "notIn": ["string"] }
|
||||
],
|
||||
"autoCloseBefore": ";:.,=}])> \n\t",
|
||||
"surroundingPairs": [
|
||||
|
@ -29,7 +30,8 @@
|
|||
["<", ">"],
|
||||
["\"", "\""],
|
||||
["'", "'"],
|
||||
["`", "`"]
|
||||
["`", "`"],
|
||||
["```", "```"]
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",
|
||||
|
|
Loading…
Reference in a new issue