Skip to content

Commit

Permalink
fix: support auto-closing for triple backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
roife committed Apr 11, 2024
1 parent 657b33b commit 4346bbc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions editors/code/language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -29,7 +30,8 @@
["<", ">"],
["\"", "\""],
["'", "'"],
["`", "`"]
["`", "`"],
["```", "```"]
],
"indentationRules": {
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",
Expand Down

0 comments on commit 4346bbc

Please sign in to comment.