Autocommand event when JDTLS started, analog to LspAttach #701
Unanswered
bratekarate
asked this question in
Q&A
Replies: 1 comment
-
There's no standardized event in the language server protocol for that. untested: local config = {...} -- from readme
config.handlers["language/status"] = function(err, result)
if result and result == "ServiceReady" then
--- your logic
end
end |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to execute a command when JDTLS was started successfully. I can hook into
LspAttach
to execute commands after attach. However, JDTLS is not started yet at this point. Is there any way to "wait until JDTLS is started and then execute a command"?Beta Was this translation helpful? Give feedback.
All reactions