aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/gosum/highlights.scm
blob: f20c5f176dba3ad9c188816f155cfa05084236c5 (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
[
  "alpha"
  "beta"
  "dev"
  "pre"
  "rc"
  "+incompatible"
] @keyword

(module_path) @string.special.url

(module_version) @string.special

(hash_version) @attribute

(hash) @string.special.symbol

[
  (number)
  (number_with_decimal)
  (hex_number)
] @number

(checksum
  "go.mod" @string)

[
  ":"
  "."
  "-"
  "/"
] @punctuation.delimiter