Closed ROpdebee closed 4 years ago
The built-in filters, tests, and globals should probably be scoped as support.
{{ poetry_bin_path | default('/usr/local/bin/poetry') }} ## ^^^^^^^ support.function.jinja
{{ poetry_bin_path | default('/usr/local/bin/poetry') }} ## ^^^^^^^ variable.function.jinja
See above.
{{ poetry_bin_path | default('/usr/local/bin/poetry') }}
Same as earlier.
Scoping the built-ins as support. will also lead to more varied highlighting on some color schemes, which IMO looks better.
support.
Used in screenshots: Theme - Spacegray, Base16 Ocean color scheme from Base16, Source Code Pro as font.
Summary
The built-in filters, tests, and globals should probably be scoped as support.
Expected Behaviour
Actual Behaviour
How to Reproduce
See above.
Problematic Jinja2 template.
Environment
Same as earlier.
Additional context
Scoping the built-ins as
support.
will also lead to more varied highlighting on some color schemes, which IMO looks better.Used in screenshots: Theme - Spacegray, Base16 Ocean color scheme from Base16, Source Code Pro as font.