diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 0f02e70e2..b4d6382a3 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -2365,7 +2365,7 @@ return { }, tmux = { install_info = { - revision = '75d1b995b0c23400ac8e49db757a2e0386f9fa8f', + revision = '5c4bc6815372ca6c9a0f5a1188d73c0475523cce', url = 'https://github.com/Freed-Wu/tree-sitter-tmux', }, maintainers = { '@Freed-Wu', '@stevenxxiu' }, diff --git a/runtime/queries/tmux/highlights.scm b/runtime/queries/tmux/highlights.scm index 33509d76e..b473bafbf 100644 --- a/runtime/queries/tmux/highlights.scm +++ b/runtime/queries/tmux/highlights.scm @@ -1,12 +1,6 @@ (comment) @comment @spell -[ - "'" - (str_single_quotes) - (str_double_quotes) -] @string - -(backslash_escape) @string.escape +(string) @string (path) @string.special.path @@ -37,28 +31,14 @@ (source_file_directive (command) @keyword.import) -(attribute) @attribute - -(function_name) @function.call +(hook_name) @attribute "=" @operator -[ - ";" - "';'" - "," - ":" -] @punctuation.delimiter +";" @punctuation.delimiter [ - "#" - "?" -] @punctuation.special - -[ - "#{" "}" - "#[" "]" "[" "{"