Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add Ruby method visibility in outline view (#7954)
Ben Hamment1e44bac41822
diff --git a/crates/zed/src/languages/ruby/outline.scm b/crates/zed/src/languages/ruby/outline.scmindex 0b36dabadb7..544257ac0c3 100644--- a/crates/zed/src/languages/ruby/outline.scm+++ b/crates/zed/src/languages/ruby/outline.scm@@ -2,6 +2,9 @@"class" @contextname: (_) @name) @item+((identifier) @context+ (#match? @context "^(private|protected|public)$")) @item+(method"def" @contextname: (_) @name) @item