mirror of
https://github.com/helix-editor/helix.git
synced 2025-01-18 21:17:08 +04:00
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
@ -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 New Issue
Block a user