mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
Revert "fix(jinja): remove crashing pattern"
This reverts commit 8c8742871a.
This commit is contained in:
parent
05f2910355
commit
a4fa3e2d18
2 changed files with 27 additions and 8 deletions
19
tests/query/highlights/jinja/filters.jinja
Normal file
19
tests/query/highlights/jinja/filters.jinja
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{{ name|striptags|title }}
|
||||
{# ^^^^ @variable #}
|
||||
{# ^^^^^ @function.call #}
|
||||
{# ^^^^^ @function.call #}
|
||||
|
||||
{{ listx|join(', ') }}
|
||||
{# ^^^^^ @variable #}
|
||||
{# ^^^^ @function.call #}
|
||||
{# ^^^^ @string #}
|
||||
|
||||
{{ listx|join(str) }}
|
||||
{# ^^^^^ @variable #}
|
||||
{# ^^^^ @function.call #}
|
||||
{# ^^^ @variable.parameter #}
|
||||
|
||||
{{ foo.bar|random }}
|
||||
{# ^^^ @variable #}
|
||||
{# ^^^ @variable.member #}
|
||||
{# ^^^^^^ @function.call #}
|
||||
Loading…
Add table
Add a link
Reference in a new issue