aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/rst/highlights.scm
blob: 73c0def431e9830cc69cd9a505d8879bc677c35d (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
(comment) @comment

[
  (title)
] @markup.heading.1

[
  "adornment"
] @markup.heading.marker

[
  (target)
  (reference)
] @markup.link.url

[
  "bullet"
] @markup.list.unnumbered

(strong) @markup.bold
(emphasis) @markup.italic
(literal) @markup.raw.inline

(list_item
  (term) @markup.bold
  (classifier)? @markup.italic)

(directive
  [".." (type) "::"] @function
)

(field
  [":" (field_name) ":"] @variable.other.member
)

(interpreted_text) @markup.raw.inline

(interpreted_text (role)) @keyword