feat(mason-lspconfig): allow opts.ensure_installed to be taken into account (#3134)

This commit is contained in:
Iordanis Petkakis authored and GitHub committed 2024-05-12 10:09:54 +02:00
1 parent 30ce84f7a7
commit 8968c9e9ea
1 file changed
+8 -1
+8 -1
View File
@@ -212,7 +212,14 @@ return {
end end
if have_mason then 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 end
if LazyVim.lsp.get_config("denols") and LazyVim.lsp.get_config("tsserver") then if LazyVim.lsp.get_config("denols") and LazyVim.lsp.get_config("tsserver") then