mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Update init.lua
This commit is contained in:
parent
ec5981dfb1
commit
07a2b274ee
1 changed files with 2 additions and 1 deletions
|
|
@ -211,8 +211,9 @@ return {
|
|||
-- get all the servers that are available through mason-lspconfig
|
||||
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 = mlsp.get_available_servers()
|
||||
end
|
||||
|
||||
local ensure_installed = {} ---@type string[]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue