mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
add highlighting for elseif
This commit is contained in:
parent
a5a6590f15
commit
28475d5676
1 changed files with 12 additions and 0 deletions
|
|
@ -84,6 +84,18 @@
|
||||||
"VERSION_LESS" "VERSION_GREATER" "VERSION_EQUAL" "VERSION_LESS_EQUAL" "VERSION_GREATER_EQUAL"
|
"VERSION_LESS" "VERSION_GREATER" "VERSION_EQUAL" "VERSION_LESS_EQUAL" "VERSION_GREATER_EQUAL"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
(elseif_command
|
||||||
|
(elseif)
|
||||||
|
(argument) @keyword.operator
|
||||||
|
(#any-of? @keyword.operator "NOT" "AND" "OR"
|
||||||
|
"COMMAND" "POLICY" "TARGET" "TEST" "DEFINED" "IN_LIST"
|
||||||
|
"EXISTS" "IS_NEWER_THAN" "IS_DIRECTORY" "IS_SYMLINK" "IS_ABSOLUTE"
|
||||||
|
"MATCHES"
|
||||||
|
"LESS" "GREATER" "EQUAL" "LESS_EQUAL" "GREATER_EQUAL"
|
||||||
|
"STRLESS" "STRGREATER" "STREQUAL" "STRLESS_EQUAL" "STRGREATER_EQUAL"
|
||||||
|
"VERSION_LESS" "VERSION_GREATER" "VERSION_EQUAL" "VERSION_LESS_EQUAL" "VERSION_GREATER_EQUAL"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
(normal_command
|
(normal_command
|
||||||
(identifier) @function.builtin
|
(identifier) @function.builtin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue