kickstart.nvim/lua/custom/plugins
HuNtErJ1324 4f0c0471cd Finish wiring up nvim-java (jdtls bootstrap)
nvim-java was installed but never initialized, so jdtls ran vanilla and the
plugin's value-add (tests, DAP, refactors, Spring Boot) was inert. Wire it up
following the current nvim-java README (Neovim 0.11.5+ / vim.pack install):

- lua/custom/plugins/nvim-java.lua now installs the full stack (spring-boot.nvim
  pinned, nui.nvim, nvim-dap, nvim-java), calls `require('java').setup()` and
  then `vim.lsp.enable('jdtls')`, in that required order.
- init.lua: the LSP config/enable loop now SKIPS jdtls, so nvim-java is the
  single owner of jdtls configuration and enablement. This avoids a second,
  competing vanilla jdtls setup while jdtls stays in the `servers` table purely
  so mason-tool-installer keeps it installed.
- java-debug-adapter + java-test remain provided via mason-nvim-dap (debug.lua),
  giving nvim-java the bundles it launches jdtls with for DAP and tests.

Verified headless: opening a .java buffer attaches exactly one jdtls client
(plus spring-boot), with no duplicate/competing jdtls setup and no Lua errors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 15:17:23 -07:00
..
init.lua Follow symlinks in the custom plugins loader 2026-06-11 18:55:49 +03:00
nvim-java.lua Finish wiring up nvim-java (jdtls bootstrap) 2026-06-21 15:17:23 -07:00
vimtex.lua Replay personal customizations onto the new vim.pack kickstart base 2026-06-21 15:15:34 -07:00