From 86902b6cb036240966af18bb73e2a654be87fa42 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Wed, 26 Aug 2020 10:07:10 +0200 Subject: [PATCH] (fix) moustache highlighting multiline Highlights moustache tags properly when the tag spans multiple lines #478, #381 --- packages/svelte-vscode/syntaxes/svelte.tmLanguage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte-vscode/syntaxes/svelte.tmLanguage.json b/packages/svelte-vscode/syntaxes/svelte.tmLanguage.json index 6cc194480..2ba58380e 100644 --- a/packages/svelte-vscode/syntaxes/svelte.tmLanguage.json +++ b/packages/svelte-vscode/syntaxes/svelte.tmLanguage.json @@ -790,7 +790,7 @@ ] }, "tag-moustaches": { - "begin": "\\b([a-zA-Z\\-_:]+)=(\"|')(?=.*{)", + "begin": "\\b([a-zA-Z\\-_:]+)=(\"|')", "beginCaptures": { "1": { "name": "entity.other.attribute-name.html"