aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/muttrc/highlights.scm
blob: 27754cc5318e4b13054a6198a4d56c4eb51d7f01 (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
53
54
55
; Comments
(comment) @comment @spell

; General
(int) @number

(string) @string

[
  (map)
  (object)
  (composeobject)
  (color)
  (attribute)
] @string.special

(quadoption) @boolean

(path) @string.special.path

(regex) @string.regexp

(option) @variable

(command_line_option) @variable.builtin

((option) @variable.builtin
  (#not-lua-match? @variable.builtin "^my_"))

(command) @keyword

(source_directive
  (command) @keyword.import)

(uri) @string.special.url

(key_name) @constant.builtin

(escape) @string.escape

(function) @function.call

; Literals
[
  "<"
  ">"
] @punctuation.bracket

"," @punctuation.delimiter

[
  "&"
  "?"
  "*"
] @character.special