nvim-treesitter/queries/vimdoc/highlights.scm

32 lines
833 B
Scheme
Raw Normal View History

(h1) @text.title.1
(h2) @text.title.2
(h3) @text.title.3
(column_heading) @text.title.4
2022-10-24 09:10:50 +02:00
(column_heading
"~" @conceal (#set! conceal ""))
(tag
"*" @conceal (#set! conceal "")
2022-09-28 14:49:51 +02:00
text: (_) @label)
(taglink
"|" @conceal (#set! conceal "")
2022-09-28 14:49:51 +02:00
text: (_) @text.reference)
(optionlink
2022-10-24 09:10:50 +02:00
text: (_) @text.reference)
2022-09-28 14:49:51 +02:00
(codespan
"`" @conceal (#set! conceal "")
2022-10-24 09:10:50 +02:00
text: (_) @text.literal)
((codeblock) @text.literal.block (#set! "priority" 90))
2022-10-24 09:10:50 +02:00
(codeblock
[">" (language)] @conceal (#set! conceal ""))
2022-10-24 09:10:50 +02:00
(block
"<" @conceal (#set! conceal ""))
(argument) @parameter
2022-10-24 09:10:50 +02:00
(keycode) @string.special
(url) @text.uri
((note) @text.note
(#any-of? @text.note "Note:" "NOTE:" "Notes:"))
((note) @text.warning
(#any-of? @text.warning "Warning:" "WARNING:"))
((note) @text.danger
(#any-of? @text.danger "Deprecated:" "DEPRECATED:"))