diff options
author | pommicket <pommicket@gmail.com> | 2022-12-28 13:52:15 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-28 13:52:15 -0500 |
commit | 29c5c9b7544243a161d403b66ddfa11b6cdbbcf6 (patch) | |
tree | 28df44016f452f70c80bbcda276ff457b3f810f5 /lsp.c | |
parent | f57b21c5a6ac9913e3b9727abfed951708917250 (diff) |
fixed (all?) problems with signature help
Diffstat (limited to 'lsp.c')
-rw-r--r-- | lsp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -45,6 +45,7 @@ static void lsp_request_free(LSPRequest *r) { case LSP_REQUEST_SIGNATURE_HELP: case LSP_REQUEST_DID_CLOSE: case LSP_REQUEST_WORKSPACE_FOLDERS: + case LSP_REQUEST_JDTLS_CONFIGURATION: break; case LSP_REQUEST_DID_OPEN: { LSPRequestDidOpen *open = &r->data.open; @@ -132,6 +133,9 @@ static bool lsp_supports_request(LSP *lsp, const LSPRequest *request) { case LSP_REQUEST_SHUTDOWN: case LSP_REQUEST_EXIT: return true; + case LSP_REQUEST_JDTLS_CONFIGURATION: + // @TODO: check if this is actually jdtls + return lsp->language == LANG_JAVA; case LSP_REQUEST_COMPLETION: return cap->completion_support; case LSP_REQUEST_SIGNATURE_HELP: |