mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00: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:
committed by
Christian Clason
parent
a4fa3e2d18
commit
4d9916e477
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user