From 78f9d666e7d6027ddab329a60019835950d8b3e7 Mon Sep 17 00:00:00 2001 From: Apollo-Roboto <41392253+Apollo-Roboto@users.noreply.github.com> Date: Fri, 2 Sep 2022 18:02:36 -0400 Subject: [PATCH] fixing syntax highlight for multiline string --- hugo.configuration.json | 6 ++++-- src/syntaxes/hugo.tmLanguage.json | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/hugo.configuration.json b/hugo.configuration.json index 294dbe9..12637f6 100644 --- a/hugo.configuration.json +++ b/hugo.configuration.json @@ -13,13 +13,15 @@ ["[", "]"], ["(", ")"], ["\"", "\""], - ["'", "'"] + ["'", "'"], + ["`", "`"] ], "surroundingPairs": [ ["{", "}"], ["[", "]"], ["(", ")"], ["\"", "\""], - ["'", "'"] + ["'", "'"], + ["`", "`"] ] } \ No newline at end of file diff --git a/src/syntaxes/hugo.tmLanguage.json b/src/syntaxes/hugo.tmLanguage.json index a867c5f..360d221 100644 --- a/src/syntaxes/hugo.tmLanguage.json +++ b/src/syntaxes/hugo.tmLanguage.json @@ -92,6 +92,11 @@ "begin": "\"", "end": "\"", "name": "string.quoted.single.hugo" + }, + { + "begin": "`", + "end": "`", + "name": "string.quoted.single.hugo" } ] },