aboutsummaryrefslogtreecommitdiffstats
path: root/queries/pod/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/pod/highlights.scm')
-rw-r--r--queries/pod/highlights.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/queries/pod/highlights.scm b/queries/pod/highlights.scm
index e1e88f5f8..e5a192620 100644
--- a/queries/pod/highlights.scm
+++ b/queries/pod/highlights.scm
@@ -12,7 +12,7 @@
(command_paragraph
(command) @keyword
(#lua-match? @keyword "^=head")
- (content) @text.title)
+ (content) @markup.heading)
(command_paragraph
(command) @keyword
@@ -22,7 +22,7 @@
(command_paragraph
(command) @keyword
(#lua-match? @keyword "^=item")
- (content) @text)
+ (content) @none)
(command_paragraph
(command) @keyword
@@ -30,7 +30,7 @@
(content) @string.special)
-(verbatim_paragraph (content) @text.literal)
+(verbatim_paragraph (content) @markup.raw)
(interior_sequence
(sequence_letter) @character
@@ -40,32 +40,32 @@
(interior_sequence
(sequence_letter) @character
(#eq? @character "B")
- (content) @text.strong)
+ (content) @markup.strong)
(interior_sequence
(sequence_letter) @character
(#eq? @character "C")
- (content) @text.literal)
+ (content) @markup.raw)
(interior_sequence
(sequence_letter) @character
(#eq? @character "F")
- (content) @text.underline @string.special)
+ (content) @string.special.path)
(interior_sequence
(sequence_letter) @character
(#eq? @character "I")
- (content) @text.emphasis)
+ (content) @markup.italic)
(interior_sequence
(sequence_letter) @character
(#eq? @character "L")
- (content) @text.uri)
+ (content) @string.special.url)
(interior_sequence
(sequence_letter) @character
(#eq? @character "X")
- (content) @text.reference)
+ (content) @markup.link)
(interior_sequence
(sequence_letter) @character