nvim-treesitter/runtime/queries/doxygen/highlights.scm

54 lines
606 B
Scheme
Raw Normal View History

2023-08-25 05:02:58 -04:00
((tag_name) @keyword
(#set! "priority" 105))
[
"@code"
"@endcode"
] @keyword
2023-08-25 05:02:58 -04:00
(identifier) @variable
((tag
(tag_name) @_param
(identifier) @parameter)
(#any-of? @_param "@param" "\\param"))
(function (identifier) @function)
(function_link) @function
(emphasis) @text.emphasis
[
"\\a"
"\\c"
] @tag
2023-08-25 05:02:58 -04:00
(code_block_language) @label
2023-08-25 05:02:58 -04:00
[
"in"
"out"
"inout"
] @storageclass
"~" @operator
[
"<a"
">"
"</a>"
] @tag
[
"."
2023-08-25 05:02:58 -04:00
","
"::"
(code_block_start)
(code_block_end)
2023-08-25 05:02:58 -04:00
] @punctuation.delimiter
[ "(" ")" "{" "}" "[" "]" ] @punctuation.bracket
(code_block_content) @none