mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
feat(mason-lspconfig): allow opts.ensure_installed
to be taken into account (#3134)
This commit is contained in:
parent
30ce84f7a7
commit
8968c9e9ea
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue