add condition_negation, string.regexp matches

This commit is contained in:
purarue 2025-09-13 11:46:40 -07:00
parent 54ddb3d3a5
commit 374b4b508e

View file

@ -5,7 +5,16 @@
";"
] @punctuation.delimiter
"=" @operator
[
"="
(condition_negation)
] @operator
; mark the string values for items interpreted as regex as string.regexp
(binary_condition_expression
(binary_condition_identifier) @keyword
(identifier) @string.regexp
(#any-of? @keyword "match" "ext" "mime" "name" "path"))
(binary_condition_identifier) @keyword