Skip to content
Discussion options

You must be logged in to vote

Adding the capabilities to my config informed jdtls that the client is capable of displaying docs.
They were not send before.
excluded is new because I didn't need jacocagent and it was not working.
idk if configuring runtimes made a difference but I kept it as it seems to work now.

working config:

local status, jdtls = pcall(require, "jdtls")
if not status then
	return
end

local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.documentationFormat = { "markdown", "plaintext" }
capabilities.textDocument.completion.completionItem.snippetSupport = true
capabilities.textDocument.completion.completionItem.preselectSupport = true
c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chrisovergaauw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant