Change summary
crates/languages/src/c/injections.scm | 5 ++---
crates/languages/src/cpp/injections.scm | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
Detailed changes
@@ -1,7 +1,6 @@
((comment) @injection.content
- (#match? @injection.content "^(///|//!|/\\*\\*|/\\*!)(.*)")
- (#set! injection.language "doxygen")
- (#set! injection.include-children))
+ (#set! injection.language "comment")
+)
(preproc_def
value: (preproc_arg) @injection.content
@@ -1,7 +1,6 @@
((comment) @injection.content
- (#match? @injection.content "^(///|//!|/\\*\\*|/\\*!)(.*)")
- (#set! injection.language "doxygen")
- (#set! injection.include-children))
+ (#set! injection.language "comment")
+)
(preproc_def
value: (preproc_arg) @injection.content