languages: add block comment tokens for jinja and nunjucks (#12348)

Co-authored-by: David Odenwald <daod@solute.de>
This commit is contained in:
{{david|odenwald}} 2024-12-28 14:44:41 +01:00 committed by GitHub
parent 19c91dfb80
commit 4b288e4de7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"