summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ted.h b/ted.h
index 7a3dddd..0f2dfe6 100644
--- a/ted.h
+++ b/ted.h
@@ -411,8 +411,7 @@ typedef struct {
// we use this to check if we need to refresh it.
LSPDocumentPosition requested_position;
LSPID requested_lsp;
- BufferPos range_start;
- BufferPos range_end;
+ LSPRange range;
} Hover;
typedef struct {
@@ -440,6 +439,8 @@ typedef struct {
typedef struct {
LSPHighlight *highlights;
LSPRequestID last_request_id;
+ LSPID last_request_lsp;
+ LSPDocumentPosition requested_position;
} Highlights;
typedef struct Ted {