From bb1379a911f43134b8dc5ed9ec2eebb889b800fb Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Sat, 25 Dec 2021 13:43:58 +0100 Subject: add temp work --- src/server/types.odin | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/server/types.odin') 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 -- cgit v1.2.3