mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
(binary_expression
|
||||
(binary_operator
|
||||
"|")
|
||||
(binary_operator) @_operator
|
||||
(unary_expression
|
||||
(primary_expression
|
||||
(identifier) @function.call)))
|
||||
(identifier) @function.call))
|
||||
(#eq? @_operator "|"))
|
||||
|
||||
(inline_trans
|
||||
"_" @function.builtin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue