From 80a2049c5de75236cf8ec5c6521a0c60c95ae92f Mon Sep 17 00:00:00 2001 From: Omar Bahareth Date: Sat, 3 Jan 2026 19:22:06 +0300 Subject: [PATCH] Add Ruby LSP plugin with inline lspServers configuration --- .claude-plugin/marketplace.json | 24 ++++++++++++++++++++++++ plugins/ruby-lsp/README.md | 31 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 plugins/ruby-lsp/README.md diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index c11e644..058c1ba 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -228,6 +228,30 @@ } } }, + { + "name": "ruby-lsp", + "description": "Ruby language server for code intelligence and analysis", + "version": "1.0.0", + "author": { + "name": "Anthropic", + "email": "support@anthropic.com" + }, + "source": "./plugins/ruby-lsp", + "category": "development", + "strict": false, + "lspServers": { + "ruby-lsp": { + "command": "ruby-lsp", + "extensionToLanguage": { + ".rb": "ruby", + ".rake": "ruby", + ".gemspec": "ruby", + ".ru": "ruby", + ".erb": "erb" + } + } + } + }, { "name": "agent-sdk-dev", "description": "Development kit for working with the Claude Agent SDK", diff --git a/plugins/ruby-lsp/README.md b/plugins/ruby-lsp/README.md new file mode 100644 index 0000000..a28b774 --- /dev/null +++ b/plugins/ruby-lsp/README.md @@ -0,0 +1,31 @@ +# ruby-lsp + +Ruby language server for Claude Code, providing code intelligence and analysis. + +## Supported Extensions +`.rb`, `.rake`, `.gemspec`, `.ru`, `.erb` + +## Installation + +### Via gem (recommended) +```bash +gem install ruby-lsp +``` + +### Via Bundler +Add to your Gemfile: +```ruby +gem 'ruby-lsp', group: :development +``` + +Then run: +```bash +bundle install +``` + +## Requirements +- Ruby 3.0 or later + +## More Information +- [Ruby LSP Website](https://shopify.github.io/ruby-lsp/) +- [GitHub Repository](https://github.com/Shopify/ruby-lsp)