mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
feat: add backtick to surrounding and auto-closing pairs
This commit is contained in:
parent
d3cc3bc00e
commit
6ca48d98c4
@ -18,7 +18,8 @@
|
||||
{ "open": "[", "close": "]" },
|
||||
{ "open": "(", "close": ")" },
|
||||
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||||
{ "open": "/*", "close": " */" }
|
||||
{ "open": "/*", "close": " */" },
|
||||
{ "open": "`", "close": "`", "notIn": ["string"] }
|
||||
],
|
||||
"autoCloseBefore": ";:.,=}])> \n\t",
|
||||
"surroundingPairs": [
|
||||
@ -27,7 +28,8 @@
|
||||
["(", ")"],
|
||||
["<", ">"],
|
||||
["\"", "\""],
|
||||
["'", "'"]
|
||||
["'", "'"],
|
||||
["`", "`"]
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",
|
||||
|
Loading…
Reference in New Issue
Block a user