Revert "Add Doxygen injection into C and C++ comments" (#44883) (cherry-pick to preview) (#44897)

zed-zippy[bot] and Piotr Osiewicz created

Cherry-pick of #44883 to preview

----
Reverts zed-industries/zed#43581

Release notes:
- Fixed comment injections not working with C and C++.

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

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

crates/languages/src/c/injections.scm 🔗

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

crates/languages/src/cpp/injections.scm 🔗

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