mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(lsp): updated to mason-lspconfig v2 interfaces
This commit is contained in:
parent
e2cbe6bc46
commit
9be390e8a6
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ return {
|
|||
local have_mason, mlsp = pcall(require, "mason-lspconfig")
|
||||
local all_mslp_servers = {}
|
||||
if have_mason then
|
||||
all_mslp_servers = vim.tbl_keys(require("mason-lspconfig.mappings.server").lspconfig_to_package)
|
||||
all_mslp_servers = vim.tbl_keys(require("mason-lspconfig").get_mappings().lspconfig_to_package)
|
||||
end
|
||||
|
||||
local ensure_installed = {} ---@type string[]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue