mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 22:10:01 -04:00
chore(help)!: renamed to vimdoc
This commit is contained in:
parent
2f3113ff6d
commit
93fa5df0a3
5 changed files with 14 additions and 13 deletions
25
queries/vimdoc/highlights.scm
Normal file
25
queries/vimdoc/highlights.scm
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
(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
|
||||
3
queries/vimdoc/injections.scm
Normal file
3
queries/vimdoc/injections.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(codeblock
|
||||
(language) @language
|
||||
(code) @content)
|
||||
Loading…
Add table
Add a link
Reference in a new issue