FIX: Ruby LSP for Hungerstation Platform

This commit is contained in:
2026-06-29 14:48:02 +03:00
parent 20830bbd62
commit 9cc41c7d6e
2 changed files with 9 additions and 4 deletions
+8 -3
View File
@@ -4,9 +4,14 @@ return {
opts = {
servers = {
ruby_lsp = {
cmd_env = {
BUNDLE_GEMFILE = vim.fn.expand("~/.config/nvim/ruby-lsp-bundle/Gemfile"),
},
cmd = function(dispatchers, config)
return vim.lsp.rpc.start({ "ruby-lsp" }, dispatchers, {
cwd = config and (config.cmd_cwd or config.root_dir),
env = {
BUNDLE_GEMFILE = vim.fn.expand("~/.config/nvim/ruby-lsp-bundle/Gemfile"),
},
})
end,
},
},
},
+1 -1
View File
@@ -1 +1 @@
source "https://rubygems.org"
source 'https://rubygems.org'