aboutsummaryrefslogtreecommitdiffstats
path: root/queries/tmux/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/tmux/highlights.scm')
-rw-r--r--queries/tmux/highlights.scm52
1 files changed, 52 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