Skip to content

Commit 4346bbc

Browse files
committed
fix: support auto-closing for triple backticks
1 parent 657b33b commit 4346bbc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

editors/code/language-configuration.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
{ "open": "(", "close": ")" },
2020
{ "open": "\"", "close": "\"", "notIn": ["string"] },
2121
{ "open": "/*", "close": " */", "notIn": ["string"] },
22-
{ "open": "`", "close": "`", "notIn": ["string"] }
22+
{ "open": "`", "close": "`", "notIn": ["string"] },
23+
{ "open": "```", "close": "```", "notIn": ["string"] }
2324
],
2425
"autoCloseBefore": ";:.,=}])> \n\t",
2526
"surroundingPairs": [
@@ -29,7 +30,8 @@
2930
["<", ">"],
3031
["\"", "\""],
3132
["'", "'"],
32-
["`", "`"]
33+
["`", "`"],
34+
["```", "```"]
3335
],
3436
"indentationRules": {
3537
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",

0 commit comments

Comments
 (0)