mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fixed the mistake fixed the mistake from previous commit
This commit is contained in:
parent
05a33a9de7
commit
1e09850243
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ return {
|
||||||
local all_mslp_servers = {}
|
local all_mslp_servers = {}
|
||||||
if have_mason and vim.fn.has("nvim-0.11") == 1 then
|
if have_mason and vim.fn.has("nvim-0.11") == 1 then
|
||||||
-- all_mslp_servers = vim.tbl_keys(require("mason-lspconfig").get_mappings().lspconfig_to_package)
|
-- all_mslp_servers = vim.tbl_keys(require("mason-lspconfig").get_mappings().lspconfig_to_package)
|
||||||
all_mslp_servers = require("mason-lspconfig").get_available_servers())
|
all_mslp_servers = vim.tbl_keys(require("mason-lspconfig").get_available_servers())
|
||||||
elseif have_mason then
|
elseif 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.mappings.server").lspconfig_to_package)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue