FIX: Ruby LSP for Hungerstation Platform
This commit is contained in:
@@ -4,9 +4,14 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
servers = {
|
servers = {
|
||||||
ruby_lsp = {
|
ruby_lsp = {
|
||||||
cmd_env = {
|
cmd = function(dispatchers, config)
|
||||||
BUNDLE_GEMFILE = vim.fn.expand("~/.config/nvim/ruby-lsp-bundle/Gemfile"),
|
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