Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add a couple common Ruby file suffixes (#6812)

Stuart Hinson9833d4b0c307
diff --git a/crates/zed/src/languages/ruby/config.toml b/crates/zed/src/languages/ruby/config.toml
index 32e43c7cb18..04c7248a825 100644
--- a/crates/zed/src/languages/ruby/config.toml
+++ b/crates/zed/src/languages/ruby/config.toml
@@ -1,5 +1,5 @@
name = "Ruby"
-path_suffixes = ["rb", "Gemfile"]
+path_suffixes = ["rb", "Gemfile", "Gemfile.lock", "rake"]
first_line_pattern = '^#!.*\bruby\b'
line_comments = ["# "]
autoclose_before = ";:.,=}])>"