diff options
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/tmux/highlights.scm | 52 | ||||
| -rw-r--r-- | queries/tmux/injections.scm | 5 |
2 files changed, 57 insertions, 0 deletions
diff --git a/queries/tmux/highlights.scm b/queries/tmux/highlights.scm new file mode 100644 index 000000000..50da7d7d8 --- /dev/null +++ b/queries/tmux/highlights.scm @@ -0,0 +1,52 @@ +; Comments +(comment) @comment @spell + +; General +[ + (string) + (raw_string) +] @string + +(int) @number + +(path) @string.special.path + +[ + (option) + (variable_name) +] @variable + +(command_line_option) @variable.builtin + +((option) @variable.builtin + (#not-lua-match? @variable.builtin "^@")) + +(command) @keyword + +(source_file_directive + (command) @keyword.import) + +(attribute) @attribute + +(function_name) @function.call + +"=" @operator + +[ + "," + ":" +] @punctuation.delimiter + +[ + "#" + "?" +] @punctuation.special + +[ + "#{" + "}" + "#[" + "]" + "[" + "{" +] @punctuation.bracket diff --git a/queries/tmux/injections.scm b/queries/tmux/injections.scm new file mode 100644 index 000000000..5bf6e27d2 --- /dev/null +++ b/queries/tmux/injections.scm @@ -0,0 +1,5 @@ +((shell) @injection.content + (#set! injection.language "bash")) + +((comment) @injection.content + (#set! injection.language "comment")) |
