FIX: Ruby LSP for Hungerstation Platform
This commit is contained in:
@@ -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 @@
|
||||
source "https://rubygems.org"
|
||||
source 'https://rubygems.org'
|
||||
|
||||
Reference in New Issue
Block a user