Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Configure LSP for Ruby development in Spree monorepo (#14379)

Damian Legawiecb839535c9e63
diff --git a/.zed/settings.json b/.zed/settings.json
index 51dd8a0bc4..c088d71873 100644
--- a/.zed/settings.json
+++ b/.zed/settings.json
@@ -7,6 +7,22 @@
"source.fixAll.biome": true,
"source.organizeImports.biome": true
},
+ "lsp": {
+ "ruby-lsp": {
+ "binary": {
+ "env": {
+ "BUNDLE_GEMFILE": "spree/Gemfile"
+ }
+ }
+ },
+ "rubocop": {
+ "binary": {
+ "env": {
+ "BUNDLE_GEMFILE": "spree/Gemfile"
+ }
+ }
+ }
+ },
"languages": {
"TypeScript": {
"language_servers": ["biome", "vtsls", "!typescript-language-server", "!eslint"]