languages: add block comment tokens for jinja and nunjucks (#12348)
Co-authored-by: David Odenwald <daod@solute.de>
This commit is contained in:
parent
19c91dfb80
commit
4b288e4de7
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue