mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
add condition_negation, string.regexp matches
This commit is contained in:
parent
54ddb3d3a5
commit
374b4b508e
1 changed files with 10 additions and 1 deletions
|
|
@ -5,7 +5,16 @@
|
||||||
";"
|
";"
|
||||||
] @punctuation.delimiter
|
] @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
|
(binary_condition_identifier) @keyword
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue