summaryrefslogtreecommitdiff
path: root/runtime/queries/meson/highlights.scm
blob: 01df8f279ab5390f482860e27babf8f7a6cb36f7 (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
56
57
58
59
60
61
62
(string_literal) @string

(boolean_literal) @constant.builtin.boolean
(integer_literal) @constant.numeric.integer

(comment) @comment.line
(function_id) @function
(keyword_arg_key) @variable.other.member
(id_expression) @variable

[
  "if"
  "elif"
  "else"
  "endif"
] @keyword.control.conditional

[
  "foreach"
  "endforeach"
] @keyword.control.repeat

[
  "break"
  "continue"
] @keyword.control

[
  "not"
  "in"
  "and"
  "or"
] @keyword.operator

[
  "!"
  "+"
  "-"
  "*"
  "/"
  "%"
  "=="
  "!="
  ">"
  "<"
  ">="
  "<="
] @operator

[
  ":"
  ","
] @punctuation.delimiter

[
  "("
  ")"
  "["
  "]"
  "{"
  "}"
] @punctuation.bracket