summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lsp.h b/lsp.h
index 9bbdd77..0b25091 100644
--- a/lsp.h
+++ b/lsp.h
@@ -272,6 +272,13 @@ typedef struct {
LSPSignatureInformation *signatures;
} LSPResponseSignatureHelp;
+typedef struct {
+ // the range of text to highlight
+ LSPRange range;
+ // little tool tip to show
+ LSPString contents;
+} LSPResponseHover;
+
typedef LSPRequestType LSPResponseType;
typedef struct {
@@ -284,6 +291,7 @@ typedef struct {
union {
LSPResponseCompletion completion;
LSPResponseSignatureHelp signature_help;
+ LSPResponseHover hover;
} data;
} LSPResponse;