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:
Robert Muir
2025-07-21 11:53:16 -04:00
committed by Christian Clason
parent a4fa3e2d18
commit 4d9916e477

View File

@@ -127,11 +127,11 @@
; jinja filters
(binary_expression
(binary_operator
"|")
(binary_operator) @_operator
(unary_expression
(primary_expression
(identifier) @function.call)))
(identifier) @function.call))
(#eq? @_operator "|"))
(inline_trans
"_" @function.builtin)