mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
Revert "fix(jinja): remove crashing pattern"
This reverts commit 8c8742871a.
This commit is contained in:
parent
5d539943c6
commit
6034d6566f
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