mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(solidity): add doxygen injections (#7853)
This commit is contained in:
parent
0484f881c6
commit
066fd65053
1 changed files with 12 additions and 0 deletions
|
|
@ -1,2 +1,14 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((comment) @injection.content
|
||||
(#lua-match? @injection.content "^///[^/]")
|
||||
(#set! injection.language "doxygen"))
|
||||
|
||||
((comment) @injection.content
|
||||
(#lua-match? @injection.content "^///$")
|
||||
(#set! injection.language "doxygen"))
|
||||
|
||||
((comment) @injection.content
|
||||
(#lua-match? @injection.content "^/[*][*][^*].*[*]/$")
|
||||
(#set! injection.language "doxygen"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue