diff --git a/crates/zed/src/languages/ruby/config.toml b/crates/zed/src/languages/ruby/config.toml index e522cd06a2..8f2f1fab97 100644 --- a/crates/zed/src/languages/ruby/config.toml +++ b/crates/zed/src/languages/ruby/config.toml @@ -1,5 +1,24 @@ name = "Ruby" -path_suffixes = ["rb", "Gemfile", "rake", "Rakefile"] +path_suffixes = [ + "rb", + "Gemfile", + "rake", + "Rakefile", + "ru", + "thor", + "cap", + "capfile", + "Capfile", + "jbuilder", + "rabl", + "rxml", + "builder", + "gemspec", + "rdoc", + "thor", + "pryrc", + "simplecov" +] first_line_pattern = '^#!.*\bruby\b' line_comments = ["# "] autoclose_before = ";:.,=}])>"