aboutsummaryrefslogtreecommitdiff
path: root/src/server/types.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/types.odin')
-rw-r--r--src/server/types.odin8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/server/types.odin b/src/server/types.odin
index 9f3c866..d369b33 100644
--- a/src/server/types.odin
+++ b/src/server/types.odin
@@ -26,6 +26,7 @@ ResponseParams :: union {
SemanticTokens,
Hover,
[]TextEdit,
+ []InlayHint,
}
ResponseMessage :: struct {
@@ -91,6 +92,7 @@ ServerCapabilities :: struct {
documentSymbolProvider: bool,
hoverProvider: bool,
documentFormattingProvider: bool,
+ inlayHintsProvider: bool,
}
CompletionOptions :: struct {
@@ -357,4 +359,10 @@ Command :: struct {
title: string,
command: string,
arguments: []string,
+}
+
+InlayHint :: struct {
+ range: common.Range,
+ kind: string,
+ label: string,
} \ No newline at end of file