From 4b288e4de73a28fca53748b49b2912e97e7a5532 Mon Sep 17 00:00:00 2001 From: {{david|odenwald}} Date: Sat, 28 Dec 2024 14:44:41 +0100 Subject: [PATCH] languages: add block comment tokens for jinja and nunjucks (#12348) Co-authored-by: David Odenwald --- languages.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/languages.toml b/languages.toml index f415fb611..645443d15 100644 --- a/languages.toml +++ b/languages.toml @@ -3303,6 +3303,7 @@ injection-regex = "nunjucks" file-types = ["njk"] indent = { tab-width = 2, unit = " " } grammar = "jinja2" +block-comment-tokens = { start = "{#", end = "#}" } [[language]] name = "jinja" @@ -3311,6 +3312,7 @@ injection-regex = "jinja" file-types = ["jinja", "jinja2", "j2"] indent = { tab-width = 2, unit = " " } grammar = "jinja2" +block-comment-tokens = { start = "{#", end = "#}" } [[grammar]] name = "jinja2"