nvim-treesitter/runtime/queries/tmux/highlights.scm
Steven Xu cbafde9925 feat(tmux)!: update parser and highlights
Breaking changes:

- Nodes `(variable_name)`, `(expr_variable_name)`, `(variable_name_short)`, are exposed as `(name)`.
2025-10-11 10:52:02 +02:00

65 lines
735 B
Scheme

(comment) @comment @spell
[
"'"
(str_single_quotes)
(str_double_quotes)
] @string
(backslash_escape) @string.escape
(path) @string.special.path
(int) @number
[
(option)
(name)
] @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
(source_file_directive
(command) @keyword.import)
(attribute) @attribute
(function_name) @function.call
"=" @operator
[
";"
"';'"
","
":"
] @punctuation.delimiter
[
"#"
"?"
] @punctuation.special
[
"#{"
"}"
"#["
"]"
"["
"{"
] @punctuation.bracket