Skip to content

Commit

Permalink
fix(highlights): link to more relevant groups #32
Browse files Browse the repository at this point in the history
- `@text.literal` seems appropriate for a codespan/codeblock.
- `optionlink` and `taglink` should use the same highlight.
  • Loading branch information
justinmk authored Oct 13, 2022
1 parent c03640a commit bf6a269
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions queries/help/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
"|" @conceal (#set! conceal "")
text: (_) @text.reference)
(optionlink
text: (_) @text.literal)
text: (_) @text.reference)
(codespan
"`" @conceal (#set! conceal "")
text: (_) @string)
text: (_) @text.literal)
(codeblock) @text.literal
(argument) @parameter
(keycode) @string.special
(url) @text.uri

0 comments on commit bf6a269

Please sign in to comment.