refactor!: migrate to mason.nvim (#2880)

This commit is contained in:
kylo252 2022-08-09 10:41:17 +02:00 committed by GitHub
parent d53b3743f2
commit eefde00ae8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 168 additions and 92 deletions

View file

@ -110,7 +110,10 @@ function M.setup()
end)
pcall(function()
require("nvim-lsp-installer").setup(lvim.lsp.installer.setup)
require("mason-lspconfig").setup(lvim.lsp.installer.setup)
local util = require "lspconfig.util"
-- automatic_installation is handled by lsp-manager
util.on_setup = nil
end)
require("lvim.lsp.null-ls").setup()