mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
8 lines
316 B
Scheme
8 lines
316 B
Scheme
((comment) @injection.content
|
|
(#lua-match? @injection.content "/[*/][!*/]<?[^a-zA-Z]")
|
|
(#set! injection.language "doxygen"))
|
|
|
|
((comment) @injection.content
|
|
(#not-lua-match? @injection.content "/[*/][!*/]<?[^a-zA-Z]")
|
|
(#not-lua-match? @injection.content "//@[a-zA-Z]")
|
|
(#set! injection.language "comment"))
|