refactor(mason): use new handlers opt

This commit is contained in:
Folke Lemaitre 2023-05-25 14:23:50 +02:00
parent 2f0bfbbad8
commit 4f2bb725be
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -151,8 +151,7 @@ return {
end
if have_mason then
mlsp.setup({ ensure_installed = ensure_installed })
mlsp.setup_handlers({ setup })
mlsp.setup({ ensure_installed = ensure_installed, handlers = { setup } })
end
if Util.lsp_get_config("denols") and Util.lsp_get_config("tsserver") then