mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 20:41:08 +00:00
feat(lsp): wildcard disable mason
This commit is contained in:
parent
7c1301b895
commit
52538b0405
1 changed files with 3 additions and 1 deletions
|
|
@ -254,7 +254,9 @@ return {
|
|||
return
|
||||
end
|
||||
|
||||
local use_mason = sopts.mason ~= false and vim.tbl_contains(mason_all, server)
|
||||
local use_mason = sopts.mason ~= false
|
||||
and opts.servers["*"].mason ~= false
|
||||
and vim.tbl_contains(mason_all, server)
|
||||
local setup = opts.setup[server] or opts.setup["*"]
|
||||
if setup and setup(server, sopts) then
|
||||
mason_exclude[#mason_exclude + 1] = server
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue