mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
fix(lsp): don't remove mason-lspconfig's hook (#3739)
This commit is contained in:
parent
b97298ccf5
commit
5c3d76c7f6
1 changed files with 3 additions and 2 deletions
|
@ -112,9 +112,10 @@ function M.setup()
|
|||
|
||||
pcall(function()
|
||||
require("mason-lspconfig").setup(lvim.lsp.installer.setup)
|
||||
local util = require "lspconfig.util"
|
||||
|
||||
-- automatic_installation is handled by lsp-manager
|
||||
util.on_setup = nil
|
||||
local settings = require "mason-lspconfig.settings"
|
||||
settings.current.automatic_installation = false
|
||||
end)
|
||||
|
||||
require("lvim.lsp.null-ls").setup()
|
||||
|
|
Loading…
Reference in a new issue