summaryrefslogtreecommitdiffstats
path: root/queries/typoscript/highlights.scm
blob: 9ce80c680f50880c16982a8671ef102bc6c47f3b (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
(identifier) @field

(constant) @constant

(modifier_function) @function
(modifier_predefined) @function.builtin

[
  (condition) 
  (condition_end) 
  (condition_else)
] @conditional

(cobject) @type.builtin

[
  "@import"
  "INCLUDE_TYPOSCRIPT"
] @include

[
  (comment)
  (single_line_comment)
] @comment @spell

[
  (string)
  (multiline_value)
] @string

[
  "="
  ">"
  "<"
  ":="
  "=<"
  (condition_bool)
] @operator

"," @punctuation.delimiter

[
 "("
 ")"
 (block_punctuation)
 ] @punctuation.bracket