Skip to content

Commit

Permalink
(fix) moustache highlighting multiline
Browse files Browse the repository at this point in the history
Highlights moustache tags properly when the tag spans multiple lines
sveltejs#478, sveltejs#381
  • Loading branch information
Simon Holthausen committed Aug 26, 2020
1 parent d5490f6 commit 86902b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte-vscode/syntaxes/svelte.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@
]
},
"tag-moustaches": {
"begin": "\\b([a-zA-Z\\-_:]+)=(\"|')(?=.*{)",
"begin": "\\b([a-zA-Z\\-_:]+)=(\"|')",
"beginCaptures": {
"1": {
"name": "entity.other.attribute-name.html"
Expand Down

0 comments on commit 86902b6

Please sign in to comment.