nvim-treesitter/queries/help/highlights.scm
Santos Gallegos 96ee5b5382 Help: update highlights
- A hotlink on vimdoc is `|foo|`.
  Which is a reference to part of a document,
  not a URI.
- (argument) wasn't being highlighted,
  wasn't sure about the best hl group for this,
  but `@parameter` seems the obvious one?
2022-06-19 22:11:42 +02:00

15 lines
357 B
Scheme

(headline) @text.title
(column_heading) @text.title
(tag
"*" @conceal (#set! conceal "")
name: (_) @label)
(option
"'" @conceal (#set! conceal "")
name: (_) @text.literal)
(hotlink
"|" @conceal (#set! conceal "")
destination: (_) @text.reference)
(backtick
"`" @conceal (#set! conceal "")
content: (_) @string)
(argument) @parameter