mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 06:20:01 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
74
runtime/queries/vimdoc/highlights.scm
Normal file
74
runtime/queries/vimdoc/highlights.scm
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
(h1
|
||||
(delimiter) @markup.heading.1
|
||||
(heading) @markup.heading.1)
|
||||
|
||||
(h2
|
||||
(delimiter) @markup.heading.2
|
||||
(heading) @markup.heading.2)
|
||||
|
||||
(h3
|
||||
(heading) @markup.heading.3)
|
||||
|
||||
(column_heading
|
||||
(heading) @markup.heading.4)
|
||||
|
||||
(column_heading
|
||||
(delimiter) @markup.heading.4
|
||||
(#set! conceal ""))
|
||||
|
||||
(tag
|
||||
"*" @label
|
||||
(#set! conceal ""))
|
||||
|
||||
(tag
|
||||
text: (_) @label)
|
||||
|
||||
(taglink
|
||||
"|" @markup.link
|
||||
(#set! conceal ""))
|
||||
|
||||
(taglink
|
||||
text: (_) @markup.link)
|
||||
|
||||
(optionlink
|
||||
text: (_) @markup.link)
|
||||
|
||||
(codespan
|
||||
"`" @markup.raw
|
||||
(#set! conceal ""))
|
||||
|
||||
(codespan
|
||||
text: (_) @markup.raw)
|
||||
|
||||
((codeblock) @markup.raw.block
|
||||
(#set! priority 90))
|
||||
|
||||
(codeblock
|
||||
">" @markup.raw
|
||||
(#set! conceal ""))
|
||||
|
||||
(codeblock
|
||||
(language) @label
|
||||
(#set! conceal ""))
|
||||
|
||||
(block
|
||||
"<" @markup.raw
|
||||
(#set! conceal ""))
|
||||
|
||||
(argument) @variable.parameter
|
||||
|
||||
(keycode) @string.special
|
||||
|
||||
((url) @string.special.url
|
||||
(#set! @string.special.url url @string.special.url))
|
||||
|
||||
(modeline) @keyword.directive
|
||||
|
||||
((note) @comment.note
|
||||
(#any-of? @comment.note "Note:" "NOTE:" "Notes:"))
|
||||
|
||||
((note) @comment.warning
|
||||
(#any-of? @comment.warning "Warning:" "WARNING:"))
|
||||
|
||||
((note) @comment.error
|
||||
(#any-of? @comment.error "Deprecated:" "DEPRECATED:"))
|
||||
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