Open Sahnvour opened 1 year ago
I'm trying to override the zls version installed by Mason with the more recent one I built locally.
zls
First, I modified the file opened by :LspSettings zls to have
:LspSettings zls
{ "zls.path": "/path/to/zls" }
as is specified by the schema, but it did not have any effect and the Mason one was still used.
Being in LunarVim, I could workaround with this bit of config but I'm not sure it's correct/optimal
vim.list_extend(lvim.lsp.automatic_configuration.skipped_servers, { "zls" }) require("lvim.lsp.manager").setup("zls", { cmd = { "/path/to/zls" }, })
I'm trying to override the
zls
version installed by Mason with the more recent one I built locally.First, I modified the file opened by
:LspSettings zls
to haveas is specified by the schema, but it did not have any effect and the Mason one was still used.
Being in LunarVim, I could workaround with this bit of config but I'm not sure it's correct/optimal