Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
languages: Include namespace in the outline for C++ (#45794)
Haojian Wu6625997e0f6c
diff --git a/crates/languages/src/cpp/outline.scm b/crates/languages/src/cpp/outline.scmindex e8e242ef9c2..9c819fd7084 100644--- a/crates/languages/src/cpp/outline.scm+++ b/crates/languages/src/cpp/outline.scm@@ -9,6 +9,11 @@"(" @context")" @context)) @item+(namespace_definition+ "inline"? @context+ "namespace" @context+ name: (_) @name) @item+(type_definition"typedef" @contextdeclarator: (_) @name) @item