nvim-treesitter/runtime/queries/tmux/highlights.scm

66 lines
735 B
Scheme
Raw Normal View History

2024-02-20 03:26:32 +08:00
(comment) @comment @spell
[
"'"
(str_single_quotes)
(str_double_quotes)
2024-02-20 03:26:32 +08:00
] @string
(backslash_escape) @string.escape
2024-02-20 03:26:32 +08:00
(path) @string.special.path
(int) @number
2024-02-20 03:26:32 +08:00
[
(option)
(name)
2024-02-20 03:26:32 +08:00
] @variable
(command_line_option) @variable.builtin
((option) @variable.builtin
(#not-lua-match? @variable.builtin "^@"))
[
(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
[
";"
"';'"
2024-02-20 03:26:32 +08:00
","
":"
] @punctuation.delimiter
[
"#"
"?"
] @punctuation.special
[
"#{"
"}"
"#["
"]"
"["
"{"
] @punctuation.bracket