mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 15:30:01 -04:00
fix(jinja_inline): fix crashing query pattern
If jinja_inline parser is regenerated, then this pattern hits an "impossible" assert in tree-sitter query processing.
This commit is contained in:
parent
a4fa3e2d18
commit
4d9916e477
1 changed files with 3 additions and 3 deletions
|
|
@ -127,11 +127,11 @@
|
||||||
|
|
||||||
; jinja filters
|
; jinja filters
|
||||||
(binary_expression
|
(binary_expression
|
||||||
(binary_operator
|
(binary_operator) @_operator
|
||||||
"|")
|
|
||||||
(unary_expression
|
(unary_expression
|
||||||
(primary_expression
|
(primary_expression
|
||||||
(identifier) @function.call)))
|
(identifier) @function.call))
|
||||||
|
(#eq? @_operator "|"))
|
||||||
|
|
||||||
(inline_trans
|
(inline_trans
|
||||||
"_" @function.builtin)
|
"_" @function.builtin)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue