Skip to content

Commit fb1012b

Browse files
authored
(fix) moustache highlighting multiline (#483)
Highlights moustache tags properly when the tag spans multiple lines #478, #381
1 parent 4a2605b commit fb1012b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte-vscode/syntaxes/svelte.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@
790790
]
791791
},
792792
"tag-moustaches": {
793-
"begin": "\\b([a-zA-Z\\-_:]+)=(\"|')(?=.*{)",
793+
"begin": "\\b([a-zA-Z\\-_:]+)=(\"|')",
794794
"beginCaptures": {
795795
"1": {
796796
"name": "entity.other.attribute-name.html"

0 commit comments

Comments
 (0)