Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Refactor JDTLS settings in README
The default_config section in JDTLS settings makes it so nvim-java can't find the list of JDKs.
  • Loading branch information
joaoLouceiro authored Dec 10, 2025
commit 2d7b9bcb670154f4526c7aa643e012b33514c614
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,16 +284,14 @@ Use `vim.lsp.config()` to override the default JDTLS settings:

```lua
vim.lsp.config('jdtls', {
default_config = {
settings = {
java = {
configuration = {
runtimes = {
{
name = "JavaSE-21",
path = "/opt/jdk-21",
default = true,
}
settings = {
java = {
configuration = {
runtimes = {
{
name = "JavaSE-21",
path = "/opt/jdk-21",
default = true,
}
}
}
Expand Down