feat(mason-lspconfig): allow opts.ensure_installed to be taken into account (#3134)
This commit is contained in:
1 parent
30ce84f7a7
commit
8968c9e9ea
1 file changed
+8
-1
@@ -212,7 +212,14 @@ return {
|
||||
end
|
||||
|
||||
if have_mason then
|
||||
mlsp.setup({ ensure_installed = ensure_installed, handlers = { setup } })
|
||||
mlsp.setup({
|
||||
ensure_installed = vim.tbl_deep_extend(
|
||||
"force",
|
||||
ensure_installed,
|
||||
LazyVim.opts("mason-lspconfig.nvim").ensure_installed or {}
|
||||
),
|
||||
handlers = { setup },
|
||||
})
|
||||
end
|
||||
|
||||
if LazyVim.lsp.get_config("denols") and LazyVim.lsp.get_config("tsserver") then
|
||||
|
||||
Reference in new issue
Block a user