Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Revert "Add Doxygen injection into C and C++ comments" (#44883)
Piotr Osiewicz6eb198cabf82
diff --git a/crates/languages/src/c/injections.scm b/crates/languages/src/c/injections.scmindex d7df76b1186..447897340cc 100644--- a/crates/languages/src/c/injections.scm+++ b/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_defvalue: (preproc_arg) @injection.contentdiff --git a/crates/languages/src/cpp/injections.scm b/crates/languages/src/cpp/injections.scmindex a115a3bffdb..160770f3cc1 100644--- a/crates/languages/src/cpp/injections.scm+++ b/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_defvalue: (preproc_arg) @injection.content