mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(tmux)!: update parser and highlights
Breaking changes: - Node `(variable)` was renamed to `(expr_double_quotes)`. - Node `(variable_raw)` was renamed to `(expr_single_quotes)`. - Node `(string)` was renamed to `(str_double_quotes)`. - Node `(raw_string)` was renamed to `(str_single_quotes)`. - Node `(raw_string_quote)` was removed.
This commit is contained in:
parent
3ab4f2d2d2
commit
de003000a2
3 changed files with 23 additions and 9 deletions
2
SUPPORTED_LANGUAGES.md
generated
2
SUPPORTED_LANGUAGES.md
generated
|
|
@ -300,7 +300,7 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | | @steelsojka
|
||||||
[thrift](https://github.com/tree-sitter-grammars/tree-sitter-thrift) | unstable | `HFIJL` | | @amaanq, @duskmoon314
|
[thrift](https://github.com/tree-sitter-grammars/tree-sitter-thrift) | unstable | `HFIJL` | | @amaanq, @duskmoon314
|
||||||
[tiger](https://github.com/ambroisie/tree-sitter-tiger) | unstable | `HFIJL` | | @ambroisie
|
[tiger](https://github.com/ambroisie/tree-sitter-tiger) | unstable | `HFIJL` | | @ambroisie
|
||||||
[tlaplus](https://github.com/tlaplus-community/tree-sitter-tlaplus) | unstable | `HF JL` | | @ahelwer, @susliko
|
[tlaplus](https://github.com/tlaplus-community/tree-sitter-tlaplus) | unstable | `HF JL` | | @ahelwer, @susliko
|
||||||
[tmux](https://github.com/Freed-Wu/tree-sitter-tmux) | unstable | `H J ` | | @Freed-Wu
|
[tmux](https://github.com/Freed-Wu/tree-sitter-tmux) | unstable | `H J ` | | @Freed-Wu, @stevenxxiu
|
||||||
[todotxt](https://github.com/arnarg/tree-sitter-todotxt) | unstable | `H ` | | @arnarg
|
[todotxt](https://github.com/arnarg/tree-sitter-todotxt) | unstable | `H ` | | @arnarg
|
||||||
[toml](https://github.com/tree-sitter-grammars/tree-sitter-toml) | unstable | `HFIJL` | | @tk-shirasaka
|
[toml](https://github.com/tree-sitter-grammars/tree-sitter-toml) | unstable | `HFIJL` | | @tk-shirasaka
|
||||||
[tsv](https://github.com/tree-sitter-grammars/tree-sitter-csv) | unstable | `H ` | | @amaanq
|
[tsv](https://github.com/tree-sitter-grammars/tree-sitter-csv) | unstable | `H ` | | @amaanq
|
||||||
|
|
|
||||||
|
|
@ -2372,10 +2372,10 @@ return {
|
||||||
},
|
},
|
||||||
tmux = {
|
tmux = {
|
||||||
install_info = {
|
install_info = {
|
||||||
revision = '0252ecd080016e45e6305ef1a943388f5ae2f4b4',
|
revision = 'a2936cb2579f7723b5744563c45bcefabc42fe47',
|
||||||
url = 'https://github.com/Freed-Wu/tree-sitter-tmux',
|
url = 'https://github.com/Freed-Wu/tree-sitter-tmux',
|
||||||
},
|
},
|
||||||
maintainers = { '@Freed-Wu' },
|
maintainers = { '@Freed-Wu', '@stevenxxiu' },
|
||||||
tier = 2,
|
tier = 2,
|
||||||
},
|
},
|
||||||
todotxt = {
|
todotxt = {
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,21 @@
|
||||||
; Comments
|
|
||||||
(comment) @comment @spell
|
(comment) @comment @spell
|
||||||
|
|
||||||
; General
|
|
||||||
[
|
[
|
||||||
(string)
|
"'"
|
||||||
(raw_string)
|
(str_single_quotes)
|
||||||
|
(str_double_quotes)
|
||||||
] @string
|
] @string
|
||||||
|
|
||||||
(int) @number
|
(backslash_escape) @string.escape
|
||||||
|
|
||||||
(path) @string.special.path
|
(path) @string.special.path
|
||||||
|
|
||||||
|
(int) @number
|
||||||
|
|
||||||
[
|
[
|
||||||
(option)
|
(option)
|
||||||
(variable_name)
|
(variable_name)
|
||||||
|
(variable_name_short)
|
||||||
] @variable
|
] @variable
|
||||||
|
|
||||||
(command_line_option) @variable.builtin
|
(command_line_option) @variable.builtin
|
||||||
|
|
@ -21,7 +23,17 @@
|
||||||
((option) @variable.builtin
|
((option) @variable.builtin
|
||||||
(#not-lua-match? @variable.builtin "^@"))
|
(#not-lua-match? @variable.builtin "^@"))
|
||||||
|
|
||||||
(command) @keyword
|
[
|
||||||
|
(if_keyword)
|
||||||
|
(elif_keyword)
|
||||||
|
(else_keyword)
|
||||||
|
(endif_keyword)
|
||||||
|
] @keyword.conditional
|
||||||
|
|
||||||
|
[
|
||||||
|
(hidden_keyword)
|
||||||
|
(command)
|
||||||
|
] @keyword
|
||||||
|
|
||||||
(source_file_directive
|
(source_file_directive
|
||||||
(command) @keyword.import)
|
(command) @keyword.import)
|
||||||
|
|
@ -33,6 +45,8 @@
|
||||||
"=" @operator
|
"=" @operator
|
||||||
|
|
||||||
[
|
[
|
||||||
|
";"
|
||||||
|
"';'"
|
||||||
","
|
","
|
||||||
":"
|
":"
|
||||||
] @punctuation.delimiter
|
] @punctuation.delimiter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue