Skip to content

Instantly share code, notes, and snippets.

@mnordin
Created August 29, 2025 07:17
Show Gist options
  • Select an option

  • Save mnordin/15579536e70c7f5e7b3da461b86b94b6 to your computer and use it in GitHub Desktop.

Select an option

Save mnordin/15579536e70c7f5e7b3da461b86b94b6 to your computer and use it in GitHub Desktop.
Zed config for rubocop lsp that requires bundle exec execution
{
"languages": {
"Ruby": {
"language_servers": ["ruby-lsp"],
"formatter": "language_server"
}
},
"lsp": {
"ruby-lsp": {
"binary": {
"path": "bundle",
"arguments": ["exec", "ruby-lsp"]
},
"initialization_options": {
"enabledFeatures": {
"diagnostics": true,
"formatting": true,
"completion": true,
"hover": true,
"definition": true,
"references": true,
"rename": true,
"documentSymbol": true,
"workspaceSymbol": true,
"codeAction": true
},
"formatter": "rubocop",
"experimentalFeaturesEnabled": true
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment