mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-21 20:11:06 +00:00
fix(lsp): fixup for when not using mason
This commit is contained in:
parent
16637dd655
commit
a90b56518f
1 changed files with 2 additions and 2 deletions
|
|
@ -210,9 +210,9 @@ return {
|
|||
end
|
||||
end
|
||||
|
||||
local servers = vim.tbl_keys(opts.servers)
|
||||
local exclude = vim.tbl_filter(configure, servers)
|
||||
if have_mason then
|
||||
local servers = vim.tbl_keys(opts.servers)
|
||||
local exclude = vim.tbl_filter(configure, servers)
|
||||
require("mason-lspconfig").setup({
|
||||
ensure_installed = vim.tbl_filter(function(server)
|
||||
return not vim.tbl_contains(exclude, server)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue