Closed jeusdi closed 3 months ago
See the readme: https://github.com/mfussenegger/nvim-jdtls?tab=readme-ov-file#configuration-verbose
In particular:
-- 💀
-- This is the default if not provided, you can remove it. Or adjust as needed.
-- One dedicated LSP server & client will be started per unique root_dir
root_dir = require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'}),
:help vim.lsp.start()
also gives more information about this.
LSP client configuration
I'm using default lazyvim configuration you can find here.
Eclipse.jdt.ls version
v1.33.0
Steps to Reproduce
I'm using last lazyvim version.
Here
LspInfo
output:As you can see two
jdtls
lsp clients are launched.My project structure is:
My parent
pom.xml
is:Any ideas about how to fix that behavior or how to debug it?
Expected Result
One single lsp client is launched
Actual Result
a jdtls client per module is launched.