mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fixed using the proper api
used the proper way to call the function told by the author
This commit is contained in:
parent
27b192dcf4
commit
5b297ad511
1 changed files with 1 additions and 1 deletions
|
|
@ -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[]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue