aboutsummaryrefslogtreecommitdiffstats
path: root/queries/http/highlights.scm
blob: d1396ff638629ee07b5c9dd7d09430532023ed4a (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
; Keywords
(scheme) @keyword

; Methods
(method) @function.method

; Constants
(const_spec) @constant

; Variables
(identifier) @variable

; Fields
(pair
  name: (identifier) @variable.member)

; Parameters
(query_param
  (key) @variable.parameter)

; Operators
[
  "="
  "?"
  "&"
  "@"
] @operator

; Literals
(string) @string

(target_url) @string.special.url

(number) @number

; (boolean) @boolean
(null) @constant.builtin

; Punctuation
[
  "{{"
  "}}"
] @punctuation.bracket

":" @punctuation.delimiter

; Comments
(comment) @comment @spell