mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
- 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?
15 lines
357 B
Scheme
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
|