mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 22:10:01 -04:00
Revert "fix(jinja): remove crashing pattern"
This reverts commit 8c8742871a.
This commit is contained in:
parent
05f2910355
commit
a4fa3e2d18
2 changed files with 27 additions and 8 deletions
|
|
@ -125,14 +125,14 @@
|
|||
"."
|
||||
(identifier)+ @variable.member)
|
||||
|
||||
; crashes parser: https://github.com/cathaysia/tree-sitter-jinja/issues/37
|
||||
; ; jinja filters
|
||||
; (binary_expression
|
||||
; (binary_operator
|
||||
; "|")
|
||||
; (unary_expression
|
||||
; (primary_expression
|
||||
; (identifier) @function.call)))
|
||||
; jinja filters
|
||||
(binary_expression
|
||||
(binary_operator
|
||||
"|")
|
||||
(unary_expression
|
||||
(primary_expression
|
||||
(identifier) @function.call)))
|
||||
|
||||
(inline_trans
|
||||
"_" @function.builtin)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue