fix(nvim): do not setup mason-lspconfig
twice
This commit is contained in:
parent
8fc05a2b74
commit
9df598b550
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user