Debian Codegraph @

runtime/queries/pod/highlights.scm

raw symbols SCIP
1 ; A highlight file for nvim-treesitter to use
2
3 [(pod_command)
4 (command)
5 (cut_command)] @keyword
6
7 (command_paragraph
8 (command) @keyword
9 (#eq? @keyword "=head1")
10 (content) @markup.heading.1)
11
12 (command_paragraph
13 (command) @keyword
14 (#eq? @keyword "=head2")
15 (content) @markup.heading.2)
16
17 (command_paragraph
18 (command) @keyword
19 (#eq? @keyword "=head3")
20 (content) @markup.heading.3)
21
22 (command_paragraph
23 (command) @keyword
24 (#eq? @keyword "=head4")
25 (content) @markup.heading.4)
26
27 (command_paragraph
28 (command) @keyword
29 (#eq? @keyword "=head5")
30 (content) @markup.heading.5)
31
32 (command_paragraph
33 (command) @keyword
34 (#eq? @keyword "=head6")
35 (content) @markup.heading.6)
36
37 (command_paragraph
38 (command) @keyword
39 (#match? @keyword "^=over")
40 (content) @constant.numeric)
41
42 (command_paragraph
43 (command) @keyword
44 (#match? @keyword "^=item")
45 (content) @markup)
46
47 (command_paragraph
48 (command) @keyword
49 (#match? @keyword "^=encoding")
50 (content) @string.special)
51
52 (command_paragraph
53 (command) @keyword
54 (#not-match? @keyword "^=(head|over|item|encoding)")
55 (content) @string)
56
57 (verbatim_paragraph (content) @markup.raw)
58
59 (interior_sequence
60 (sequence_letter) @constant.character
61 ["<" ">"] @punctuation.delimiter
62 )
63
64 (interior_sequence
65 (sequence_letter) @character
66 (#eq? @character "B")
67 (content) @markup.bold)
68
69 (interior_sequence
70 (sequence_letter) @character
71 (#eq? @character "C")
72 (content) @markup.literal)
73
74 (interior_sequence
75 (sequence_letter) @character
76 (#eq? @character "F")
77 (content) @markup.underline @string.special)
78
79 (interior_sequence
80 (sequence_letter) @character
81 (#eq? @character "I")
82 (content) @markup.bold)
83
84 (interior_sequence
85 (sequence_letter) @character
86 (#eq? @character "L")
87 (content) @markup.link.url)
88
89 (interior_sequence
90 (sequence_letter) @character
91 (#eq? @character "X")
92 (content) @markup.reference)
93
94 (escape_sequence
95 (sequence_letter) @character
96 ["<" ">"] @punctuation.delimiter
97 (content) @string.special.escape)