mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
25
runtime/queries/vimdoc/highlights.scm
Normal file
25
runtime/queries/vimdoc/highlights.scm
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
(h1) @text.title.1
|
||||
(h2) @text.title.2
|
||||
(h3) @text.title.3
|
||||
(column_heading) @text.title.4
|
||||
(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.block (#set! "priority" 90))
|
||||
(codeblock
|
||||
[">" (language)] @conceal (#set! conceal ""))
|
||||
(block
|
||||
"<" @conceal (#set! conceal ""))
|
||||
(argument) @parameter
|
||||
(keycode) @string.special
|
||||
(url) @text.uri
|
||||
4
runtime/queries/vimdoc/injections.scm
Normal file
4
runtime/queries/vimdoc/injections.scm
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
((codeblock
|
||||
(language) @injection.language
|
||||
(code) @injection.content)
|
||||
(#set! injection.include-children))
|
||||
Loading…
Add table
Add a link
Reference in a new issue