Skip to content

Commit

Permalink
Add eq test
Browse files Browse the repository at this point in the history
eq test function is only valid after `is` keyword.
  • Loading branch information
deathaxe committed Jan 3, 2025
1 parent 4975312 commit 5bfb58f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Syntaxes/Text/syntax_test_scopes.jinja.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1309,6 +1309,7 @@ not a # for statement:
## ^^^^^ support.function.test.jinja

{% if test eq false %}
## ^^ - keyword - support.function - variable.function
## ^^^^^ constant.language.boolean.false.jinja

{% if 1 is in [1, 2] %}
Expand Down

0 comments on commit 5bfb58f

Please sign in to comment.