mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -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
61
runtime/queries/doxygen/highlights.scm
Normal file
61
runtime/queries/doxygen/highlights.scm
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
((tag_name) @keyword
|
||||
(#set! priority 105))
|
||||
|
||||
[
|
||||
"@code"
|
||||
"@endcode"
|
||||
] @keyword
|
||||
|
||||
(identifier) @variable
|
||||
|
||||
((tag
|
||||
(tag_name) @_param
|
||||
(identifier) @variable.parameter)
|
||||
(#any-of? @_param "@param" "\\param"))
|
||||
|
||||
(function
|
||||
(identifier) @function)
|
||||
|
||||
(function_link) @function
|
||||
|
||||
(emphasis) @markup.italic
|
||||
|
||||
[
|
||||
"\\a"
|
||||
"\\c"
|
||||
] @tag
|
||||
|
||||
(code_block_language) @label
|
||||
|
||||
[
|
||||
"in"
|
||||
"out"
|
||||
"inout"
|
||||
] @keyword.modifier
|
||||
|
||||
"~" @operator
|
||||
|
||||
[
|
||||
"<a"
|
||||
">"
|
||||
"</a>"
|
||||
] @tag
|
||||
|
||||
[
|
||||
"."
|
||||
","
|
||||
"::"
|
||||
(code_block_start)
|
||||
(code_block_end)
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"{"
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
(code_block_content) @none
|
||||
1
runtime/queries/doxygen/indents.scm
Normal file
1
runtime/queries/doxygen/indents.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(document) @indent.auto
|
||||
15
runtime/queries/doxygen/injections.scm
Normal file
15
runtime/queries/doxygen/injections.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
((type) @injection.content
|
||||
(#set! injection.parent))
|
||||
|
||||
([
|
||||
(function_link)
|
||||
(code)
|
||||
] @injection.content
|
||||
(#set! injection.parent))
|
||||
|
||||
((link) @injection.content
|
||||
(#set! injection.language "html"))
|
||||
|
||||
(code_block
|
||||
(code_block_language) @injection.language
|
||||
(code_block_content) @injection.content)
|
||||
Loading…
Add table
Add a link
Reference in a new issue