diff options
Diffstat (limited to 'lsp.c')
-rw-r--r-- | lsp.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -49,6 +49,8 @@ void lsp_request_free(LSPRequest *r) { case LSP_REQUEST_HOVER: case LSP_REQUEST_DEFINITION: case LSP_REQUEST_DECLARATION: + case LSP_REQUEST_TYPE_DEFINITION: + case LSP_REQUEST_IMPLEMENTATION: case LSP_REQUEST_REFERENCES: case LSP_REQUEST_HIGHLIGHT: case LSP_REQUEST_DID_CLOSE: @@ -179,6 +181,10 @@ static bool lsp_supports_request(LSP *lsp, const LSPRequest *request) { return cap->definition_support; case LSP_REQUEST_DECLARATION: return cap->declaration_support; + case LSP_REQUEST_TYPE_DEFINITION: + return cap->type_definition_support; + case LSP_REQUEST_IMPLEMENTATION: + return cap->implementation_support; case LSP_REQUEST_WORKSPACE_SYMBOLS: return cap->workspace_symbols_support; case LSP_REQUEST_RENAME: @@ -220,6 +226,8 @@ static bool request_type_is_notification(LSPRequestType type) { case LSP_REQUEST_HOVER: case LSP_REQUEST_DEFINITION: case LSP_REQUEST_DECLARATION: + case LSP_REQUEST_TYPE_DEFINITION: + case LSP_REQUEST_IMPLEMENTATION: case LSP_REQUEST_REFERENCES: case LSP_REQUEST_RENAME: case LSP_REQUEST_WORKSPACE_SYMBOLS: |