diff options
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -665,6 +665,13 @@ typedef struct { Signature signatures[SIGNATURE_HELP_MAX]; } SignatureHelp; +/// "document link" information (LSP) +typedef struct { + LSPServerRequestID last_request; + // time when activation key was pressed + double key_press_time; +} DocumentLink; + /// "hover" information from LSP server typedef struct { LSPServerRequestID last_request; @@ -825,6 +832,7 @@ typedef struct Ted { bool building; Autocomplete autocomplete; SignatureHelp signature_help; + DocumentLink document_link; Hover hover; Definitions definitions; Highlights highlights; @@ -1498,6 +1506,10 @@ void definitions_selector_render(Ted *ted, Rect bounds); void definitions_selector_close(Ted *ted); void definitions_frame(Ted *ted); +// === ide-document-link.c === +void document_link_frame(Ted *ted); +void document_link_process_lsp_response(Ted *ted, const LSPResponse *response); + // === ide-highlights.c === void highlights_close(Ted *ted); void highlights_process_lsp_response(Ted *ted, LSPResponse *response); |