-
-
Notifications
You must be signed in to change notification settings - Fork 70
Kickstart
Srinesh Nisala edited this page Jul 2, 2024
·
2 revisions
We have this repository that's preconfigured for java development. You can directly clone the repository and personalize from there.
- Install
nvim-java
plugin
'nvim-java/nvim-java'
- Add
jdtls
setup function tomason-lspconfig
setuphandlers
jdtls = function()
require('java').setup {
-- Your custom jdtls settings goes here
}
require('lspconfig').jdtls.setup {
-- Your custom nvim-java configuration goes here
}
end
- Add
java
treesitter parser toensure_installed
list
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc', 'java' },
- Enable debugging by uncommenting following line
-- require 'kickstart.plugins.debug',