[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:
Daveanand Mannie
2026-01-21 09:49:35 -05:00
parent 51bb7213d0
commit e9fc5490ac

View File

@@ -4,9 +4,17 @@ return {
servers = { servers = {
ruby_lsp = { ruby_lsp = {
mason = false, mason = false,
cmd = { os.getenv("HOME") .. "/.rbenv/shims/ruby-lsp" },
single_file_support = false, 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,
}, },
}, },
}, },