Skip to content

Commit bf6a269

Browse files
authored
fix(highlights): link to more relevant groups #32
- `@text.literal` seems appropriate for a codespan/codeblock. - `optionlink` and `taglink` should use the same highlight.
1 parent c03640a commit bf6a269

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

queries/help/highlights.scm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99
"|" @conceal (#set! conceal "")
1010
text: (_) @text.reference)
1111
(optionlink
12-
text: (_) @text.literal)
12+
text: (_) @text.reference)
1313
(codespan
1414
"`" @conceal (#set! conceal "")
15-
text: (_) @string)
15+
text: (_) @text.literal)
16+
(codeblock) @text.literal
1617
(argument) @parameter
18+
(keycode) @string.special
19+
(url) @text.uri

0 commit comments

Comments
 (0)