aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/javadoc/highlights.scm
blob: 832899cb5438a700f6370070103507908aa971fe (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[
  (tag_name)
  "include"
  "exclude"
] @nospell @keyword

(identifier) @nospell @variable

(fragment) @nospell @variable.member

(parameter
  name: (identifier) @variable.parameter)

(param_tag
  parameter_name: (identifier) @variable.parameter)

[
  (boolean_type)
  (integral_type)
  (floating_point_type)
] @nospell @type.builtin

(module
  (identifier) @module)

(type
  (identifier) @type)

(type_parameter
  (identifier) @type)

(method
  (identifier) @function)

(member
  (identifier) @variable.member)

[
  (string_literal)
  (indexword)
] @nospell @string

[
  (bare_format_string)
  (literal_format_string)
] @nospell @string.special

(url) @nospell @markup.link.url

(attribute
  name: (identifier) @nospell @property)

(system_property) @nospell @property

(unsigned_integer) @number

(code) @nospell @markup.raw

[
  "="
  ":"
] @operator

[
  "/"
  "."
  ","
  "..."
  "#"
  "##"
] @punctuation.delimiter

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

(param_tag
  [
    "<"
    ">"
  ] @punctuation.bracket)