aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/queries/jinja_inline/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/jinja_inline/highlights.scm b/runtime/queries/jinja_inline/highlights.scm
index 3a9660471..b66d7fb2e 100644
--- a/runtime/queries/jinja_inline/highlights.scm
+++ b/runtime/queries/jinja_inline/highlights.scm
@@ -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)