Skip to content

Commit cb281cc

Browse files
productivemealexr00
authored andcommitted
Include triple-stash bracket for unescaped html and add brace to surroundingPairs (microsoft#68833)
Triple-stash {{{ ... }}} is used to surround an expression that should not be escaped for HTML Having the option to enable surroundingPairs for brace would simplify the editing experience
1 parent f4939df commit cb281cc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

extensions/handlebars/language-configuration.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
["<!--", "-->"],
77
["<", ">"],
88
["{{", "}}"],
9+
["{{{", "}}}"],
910
["{", "}"],
1011
["(", ")"]
1112
],
@@ -19,6 +20,7 @@
1920
"surroundingPairs": [
2021
{ "open": "'", "close": "'" },
2122
{ "open": "\"", "close": "\"" },
22-
{ "open": "<", "close": ">" }
23+
{ "open": "<", "close": ">" },
24+
{ "open": "{", "close": "}" }
2325
]
2426
}

0 commit comments

Comments
 (0)