aboutsummaryrefslogtreecommitdiffstats
path: root/queries/tmux/highlights.scm
blob: 50da7d7d84e19cc0e83fb3160cfc9d6801024bd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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