neoconf.nvim
neoconf.nvim copied to clipboard
bug: jdtls runtime settings are not populated
Did you check docs and existing issues?
- [X] I have read all the neoconf.nvim docs
- [X] I have searched the existing issues of neoconf.nvim
- [X] I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.9.5
Operating system/version
archlinux
Describe the bug
Here my .neoconf.json file:
{
"lspconfig": {
"jdtls": {
"java.configuration.runtimes": [
{
"name": "JavaSE-17",
"path": "/home/jcabre/.sdkman/candidates/java/17.0.10-tem",
},
{
"name": "JavaSE-11",
"path": "/home/jcabre/.sdkman/candidates/java/11.0.22-tem",
"default": true
}
]
}
}
}
I'm trying to change jdt runtime using JdtSetRuntime command, see here.
As you can see, I', getting this message:
No runtimes found in 'config.settings.java.configuration.runtimes'. You need to add runtime paths to change runtimes.
I'd also like get what are current jdtls settings. How could I get jdtls settings?
Any ideas?
Steps To Reproduce
- I only have a local
neoconf.jsonfile seems to be ignored...
Expected Behavior
new jdtls settings are populated.