mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
fix(lsp): fixup for when not using mason
This commit is contained in:
@@ -210,9 +210,9 @@ return {
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local servers = vim.tbl_keys(opts.servers)
|
||||||
|
local exclude = vim.tbl_filter(configure, servers)
|
||||||
if have_mason then
|
if have_mason then
|
||||||
local servers = vim.tbl_keys(opts.servers)
|
|
||||||
local exclude = vim.tbl_filter(configure, servers)
|
|
||||||
require("mason-lspconfig").setup({
|
require("mason-lspconfig").setup({
|
||||||
ensure_installed = vim.tbl_filter(function(server)
|
ensure_installed = vim.tbl_filter(function(server)
|
||||||
return not vim.tbl_contains(exclude, server)
|
return not vim.tbl_contains(exclude, server)
|
||||||
|
|||||||
Reference in New Issue
Block a user