Closed Jackenmen closed 5 months ago
Thanks for the report. I plan to eventually make a bunch of improvements done to BetterJinja
to align with the improvements made in BetterTwig
but I don't have a specific timeline for it
Can you check to see how it looks with the latest update v1.1.0
? It doesn't seem to happen.
Seems like it's fixed, yeah. I'm not entirely sure why sort_keys
keyword argument is no longer highlighted though. errors
keyword argument in the call above still gets properly highlighted.
For comparison, Python syntax highlighting (which Jinja's mini-language is based on) highlights it like this:
Thanks. I believe I understand what the issue is. I'll have this fixed (along with a number of syntax inconsistencies) in v1.2.0
Summary
false
andtrue
are not highlighted when used in dict literal.Expected Behaviour
I expected
false
andtrue
to be highlighted as they do when used in other places in the template.Actual Behaviour
false
andtrue
are not highlighted:How to Reproduce
Problematic Jinja2 template.
Environment
Additional context
The old Jinja2 package highlighted this properly.