aboutsummaryrefslogtreecommitdiff
path: root/src/server/types.odin
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-12-25 13:43:58 +0100
committerDaniel Gavin <danielgavin5@hotmail.com>2021-12-25 13:43:58 +0100
commitbb1379a911f43134b8dc5ed9ec2eebb889b800fb (patch)
tree8eb5090124d0bb4c18d353e1daf1d09d50531f8d /src/server/types.odin
parent74d5978d86d8da1e2f74727965d7d3d3b16c71f1 (diff)
add temp work
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