From 7f12aa0244c65f1dd7de6e02862c4095660b0f2f Mon Sep 17 00:00:00 2001 From: Cristiano Calcagno Date: Thu, 20 Jan 2022 15:13:35 +0100 Subject: [PATCH] Fix issue with highlighting of templates. Fix issue with highlighting of templates introduced in https://github.com/rescript-lang/rescript-vscode/pull/325 and reported in https://github.com/rescript-lang/rescript-vscode/issues/345 --- CHANGELOG.md | 1 + grammars/rescript.tmLanguage.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e64a76374..6172d5f76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## master +- Fix issue with highlighting of templates introduced in release 1.2.0. ## 1.2.0 diff --git a/grammars/rescript.tmLanguage.json b/grammars/rescript.tmLanguage.json index d5c147e74..5932d7eae 100644 --- a/grammars/rescript.tmLanguage.json +++ b/grammars/rescript.tmLanguage.json @@ -127,7 +127,7 @@ { "name": "string.template", "begin": "([a-z_][0-9a-zA-Z_]*)?(`)", - "end": "[^\\\\]`", + "end": "(?