-
-
Notifications
You must be signed in to change notification settings - Fork 69
Lazyvim
Srinesh Nisala edited this page Jun 30, 2024
·
12 revisions
I have following video if you'd like to watch.
If you just want to try it out, I have this devcontainer environment that quickly spin up a new docker container with everything you need including nvim-java configured lazyvim, some maven & gradle java project for you to try. All the instructions are in the readme.
Important
For debugging, install dap.core
LazyExtra
package
Installing nvim-java
is super easy
- Create a new file for java plugin
~/.config/nvim/lua/plugins/java/init.lua
- Add the following content to the file
return {
'nvim-java/nvim-java',
config = false,
dependencies = {
{
'neovim/nvim-lspconfig',
opts = {
servers = {
jdtls = {
-- Your custom jdtls settings goes here
},
},
setup = {
jdtls = function()
require('java').setup({
-- Your custom nvim-java configuration goes here
})
end,
},
},
},
},
}
- Enjoy