2024-01-23 22:59:32 -05:00
|
|
|
; Keywords
|
|
|
|
|
|
|
|
[
|
|
|
|
"input"
|
|
|
|
"output"
|
|
|
|
"filter"
|
2024-01-26 10:48:21 -05:00
|
|
|
] @keyword
|
|
|
|
|
|
|
|
[
|
|
|
|
|
2024-01-23 23:41:20 -05:00
|
|
|
"if"
|
|
|
|
"else"
|
2024-01-26 10:48:21 -05:00
|
|
|
"elseif"
|
|
|
|
] @keyword.conditional
|
|
|
|
|
|
|
|
[
|
2024-01-23 23:41:20 -05:00
|
|
|
(plugin_name)
|
2024-01-26 16:36:58 -05:00
|
|
|
] @function
|
2024-01-23 22:59:32 -05:00
|
|
|
|
|
|
|
; Literals
|
|
|
|
|
|
|
|
[
|
|
|
|
(string)
|
|
|
|
(bareword)
|
|
|
|
] @string
|
|
|
|
|
2024-01-23 23:41:20 -05:00
|
|
|
(regexp) @string.special.regex
|
2024-01-23 22:59:32 -05:00
|
|
|
|
|
|
|
[
|
|
|
|
(number)
|
|
|
|
] @number
|
|
|
|
|
2024-01-26 10:48:21 -05:00
|
|
|
[
|
|
|
|
(true)
|
|
|
|
(false)
|
|
|
|
] @boolean
|
|
|
|
|
2024-01-23 22:59:32 -05:00
|
|
|
(comment) @comment
|
|
|
|
|
|
|
|
; Operators
|
|
|
|
[
|
2024-01-27 01:26:02 -05:00
|
|
|
(compare_operator)
|
2024-01-23 22:59:32 -05:00
|
|
|
] @operator
|
|
|
|
|
|
|
|
[
|
|
|
|
","
|
|
|
|
"."
|
|
|
|
] @punctuation.delimiter
|
|
|
|
|
|
|
|
[
|
|
|
|
"("
|
|
|
|
")"
|
|
|
|
"["
|
|
|
|
"]"
|
|
|
|
"{"
|
|
|
|
"}"
|
|
|
|
] @punctuation.bracket
|
2024-01-23 23:41:20 -05:00
|
|
|
|
|
|
|
(selector_element) @variable.parameter
|