[add] lsp config update for multi project ruby
I'm still a bit hazy on how to integrate ruby's ecosystem
This commit is contained in:
@@ -4,9 +4,17 @@ return {
|
||||
servers = {
|
||||
ruby_lsp = {
|
||||
mason = false,
|
||||
cmd = { os.getenv("HOME") .. "/.rbenv/shims/ruby-lsp" },
|
||||
single_file_support = false,
|
||||
root_partern = { ".git" },
|
||||
-- cmd = { os.getenv("HOME") .. "/.rbenv/shims/ruby-lsp" },
|
||||
init_options = { enabledFeatures = { formatter = "none", linters = {} } },
|
||||
settings = {
|
||||
ruby = {
|
||||
diagnostics = {
|
||||
rubocop = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
formatter = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user