fixed using the proper api

used the proper way to call the function told by the author
This commit is contained in:
mmj 2025-05-09 01:52:55 -04:00
parent 27b192dcf4
commit 5b297ad511

View file

@ -212,7 +212,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").get_available_servers())
all_mslp_servers =require("mason-lspconfig.mappings").get_mason_map().lspconfig_to_package
end
local ensure_installed = {} ---@type string[]