2024-02-20 03:26:32 +08:00
|
|
|
(comment) @comment @spell
|
|
|
|
|
|
|
|
|
|
[
|
2025-10-10 20:47:09 +11:00
|
|
|
"'"
|
|
|
|
|
(str_single_quotes)
|
|
|
|
|
(str_double_quotes)
|
2024-02-20 03:26:32 +08:00
|
|
|
] @string
|
|
|
|
|
|
2025-10-10 20:47:09 +11:00
|
|
|
(backslash_escape) @string.escape
|
2024-02-20 03:26:32 +08:00
|
|
|
|
|
|
|
|
(path) @string.special.path
|
|
|
|
|
|
2025-10-10 20:47:09 +11:00
|
|
|
(int) @number
|
|
|
|
|
|
2024-02-20 03:26:32 +08:00
|
|
|
[
|
|
|
|
|
(option)
|
2025-10-11 17:23:17 +11:00
|
|
|
(name)
|
2024-02-20 03:26:32 +08:00
|
|
|
] @variable
|
|
|
|
|
|
|
|
|
|
(command_line_option) @variable.builtin
|
|
|
|
|
|
|
|
|
|
((option) @variable.builtin
|
|
|
|
|
(#not-lua-match? @variable.builtin "^@"))
|
|
|
|
|
|
2025-10-10 20:47:09 +11:00
|
|
|
[
|
|
|
|
|
(if_keyword)
|
|
|
|
|
(elif_keyword)
|
|
|
|
|
(else_keyword)
|
|
|
|
|
(endif_keyword)
|
|
|
|
|
] @keyword.conditional
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
(hidden_keyword)
|
|
|
|
|
(command)
|
|
|
|
|
] @keyword
|
2024-02-20 03:26:32 +08:00
|
|
|
|
|
|
|
|
(source_file_directive
|
|
|
|
|
(command) @keyword.import)
|
|
|
|
|
|
|
|
|
|
(attribute) @attribute
|
|
|
|
|
|
|
|
|
|
(function_name) @function.call
|
|
|
|
|
|
|
|
|
|
"=" @operator
|
|
|
|
|
|
|
|
|
|
[
|
2025-10-10 20:47:09 +11:00
|
|
|
";"
|
|
|
|
|
"';'"
|
2024-02-20 03:26:32 +08:00
|
|
|
","
|
|
|
|
|
":"
|
|
|
|
|
] @punctuation.delimiter
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
"#"
|
|
|
|
|
"?"
|
|
|
|
|
] @punctuation.special
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
"#{"
|
|
|
|
|
"}"
|
|
|
|
|
"#["
|
|
|
|
|
"]"
|
|
|
|
|
"["
|
|
|
|
|
"{"
|
|
|
|
|
] @punctuation.bracket
|