Chore: fixed lsp config

The lsp config has been changed to use new api to get the table for all
mason lsp servers.
This commit is contained in:
mmj 2025-05-09 01:14:55 -04:00
parent ec5981dfb1
commit 27b192dcf4

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