nvim-treesitter/queries/help/highlights.scm
Christian Clason bf5ea2ea99 help: update queries
supports injections for codeblocks starting with, e.g., `>lua`
2022-11-22 15:28:30 +01:00

25 lines
575 B
Scheme

(h1) @text.title
(h2) @text.title
(h3) @text.title
(column_heading) @text.title
(column_heading
"~" @conceal (#set! conceal ""))
(tag
"*" @conceal (#set! conceal "")
text: (_) @label)
(taglink
"|" @conceal (#set! conceal "")
text: (_) @text.reference)
(optionlink
text: (_) @text.reference)
(codespan
"`" @conceal (#set! conceal "")
text: (_) @text.literal)
(codeblock) @text.literal
(codeblock
[">" (language)] @conceal (#set! conceal ""))
(block
"<" @conceal (#set! conceal ""))
(argument) @parameter
(keycode) @string.special
(url) @text.uri