Skip to content

client exited even though serviceReady #309

Answered by mfussenegger
marekzan asked this question in Q&A
Discussion options

You must be logged in to vote

Sounds like you're using both lspconfig.jdtls.setup and jdtls. That doesn't work, see https://github.com/mfussenegger/nvim-jdtls#nvim-lspconfig-and-nvim-jdtls-differences

Is it normal that filetypes is empty on the jdt.ls client?
and is it normal that it is saying jdt.ls instead of jdtls as it is showing in the other clients that match the filetype?

Yes, see the link above. nvim-jdtls doesn't setup filetype hooks on its own, that's what your ftplugin/java.lua file is for.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marekzan
Comment options

Answer selected by marekzan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants