fix GIT_DISCOVERY_ACROSS_FILESYSTEM error from solargraph (#1232)

This commit is contained in:
Abouzar Parvan 2021-08-04 23:40:38 +04:30 committed by GitHub
parent 82f7bbb6f9
commit ef70e77e95
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -928,6 +928,16 @@ lvim.lang = {
on_attach = common_on_attach,
on_init = common_on_init,
capabilities = common_capabilities,
filetypes = { "ruby" },
init_options = {
formatting = true,
},
root_dir = require("lspconfig").util.root_pattern("Gemfile", ".git"),
settings = {
solargraph = {
diagnostics = true,
},
},
},
},
},