Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Document how to use project-specific settings for Ruby LSP (#27310)
Andy Waitef19e1e3b5f23
diff --git a/docs/src/languages/ruby.md b/docs/src/languages/ruby.mdindex cf14a8a6546..44be3a8681c 100644--- a/docs/src/languages/ruby.md+++ b/docs/src/languages/ruby.md@@ -158,6 +158,21 @@ Ruby LSP uses pull-based diagnostics which Zed doesn't support yet. We can tell}```+LSP `settings` and `initialization_options` can also be project-specific. For example to use [standardrb/standard](https://github.com/standardrb/standard) as a formatter and linter for a particular project, add this to a `.zed/settings.json` inside your project repo:++```json+{+ "lsp": {+ "ruby-lsp": {+ "initialization_options": {+ "formatter": "standard",+ "linters": ["standard"]+ }+ }+ }+}+```+By default, Ruby LSP does not use `bundle exec` to run in the context of the bundle. To enable that, you can use the `use_bundler` configuration option:```json