natspect parsing with doxygen

This commit is contained in:
Leo 2025-05-11 13:55:37 +01:00
parent 28d480e062
commit 939273e5be

View file

@ -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"))