fix: support auto-closing for triple backticks
This commit is contained in:
parent
657b33b0cb
commit
4346bbcd92
@ -19,7 +19,8 @@
|
|||||||
{ "open": "(", "close": ")" },
|
{ "open": "(", "close": ")" },
|
||||||
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||||||
{ "open": "/*", "close": " */", "notIn": ["string"] },
|
{ "open": "/*", "close": " */", "notIn": ["string"] },
|
||||||
{ "open": "`", "close": "`", "notIn": ["string"] }
|
{ "open": "`", "close": "`", "notIn": ["string"] },
|
||||||
|
{ "open": "```", "close": "```", "notIn": ["string"] }
|
||||||
],
|
],
|
||||||
"autoCloseBefore": ";:.,=}])> \n\t",
|
"autoCloseBefore": ";:.,=}])> \n\t",
|
||||||
"surroundingPairs": [
|
"surroundingPairs": [
|
||||||
@ -29,7 +30,8 @@
|
|||||||
["<", ">"],
|
["<", ">"],
|
||||||
["\"", "\""],
|
["\"", "\""],
|
||||||
["'", "'"],
|
["'", "'"],
|
||||||
["`", "`"]
|
["`", "`"],
|
||||||
|
["```", "```"]
|
||||||
],
|
],
|
||||||
"indentationRules": {
|
"indentationRules": {
|
||||||
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",
|
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",
|
||||||
|
Loading…
Reference in New Issue
Block a user