first commit
This commit is contained in:
24
nvim/lua/plugins/java.lua
Normal file
24
nvim/lua/plugins/java.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
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,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user