fix(nvim): do not setup mason-lspconfig twice

This commit is contained in:
Price Hiller 2024-07-01 12:25:42 -05:00
parent 8fc05a2b74
commit 9df598b550
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -332,26 +332,6 @@ return {
},
event = { "BufReadPre", "BufNewFile" },
config = function()
require("mason-lspconfig").setup({
automatic_installation = true,
ensure_installed = {
"tsserver",
},
handlers = {
["jdtls"] = function()
require("java").setup({
-- Handled by $JAVA_HOME
jdk = {
auto_install = false,
},
notifications = {
dap = false,
},
})
end,
},
})
local lspconfig = require("lspconfig")
lspconfig.jdtls.setup({