fix(c): improve doxygen comment matching (#6278)

This commit is contained in:
Chad Condon 2024-03-11 10:02:53 -07:00 committed by GitHub
parent 488bec0325
commit b781fd0582
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
(#set! injection.language "re2c"))
((comment) @injection.content
(#lua-match? @injection.content "/[*][!<*][^a-zA-Z]")
(#lua-match? @injection.content "/[*\/][!*\/]<?[^a-zA-Z]")
(#set! injection.language "doxygen"))
((call_expression

View file

@ -5,7 +5,7 @@
(#set! injection.language "comment"))
((comment) @injection.content
(#lua-match? @injection.content "/[*][!<*][^a-zA-Z]")
(#lua-match? @injection.content "/[*\/][!*\/]<?[^a-zA-Z]")
(#set! injection.language "doxygen"))
(raw_string_literal