summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-30 22:07:03 -0500
committerpommicket <pommicket@gmail.com>2022-12-30 22:07:03 -0500
commit94ce74b998ad019e2307e4b69f006127dba775e2 (patch)
treeeee0d731cd5897f3825fb7892e5f1f670eef0a2c /ted.h
parentf69275faee4cd3045389a98fefefb0c683757a5c (diff)
document highlights!
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 {