25 lines
443 B
Lua
25 lines
443 B
Lua
return {
|
|
{
|
|
"JavaHello/spring-boot.nvim",
|
|
dependencies = {
|
|
"mfussenegger/nvim-jdtls",
|
|
},
|
|
},
|
|
|
|
{
|
|
"mfussenegger/nvim-jdtls",
|
|
opts = function(_, opts)
|
|
|
|
local old_on_attach = opts.on_attach
|
|
|
|
opts.on_attach = function(client, bufnr)
|
|
require("spring-boot").setup_jdtls()
|
|
|
|
if old_on_attach then
|
|
old_on_attach(client, bufnr)
|
|
end
|
|
end
|
|
end,
|
|
},
|
|
}
|