diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-12-13 21:23:30 +0100 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-12-13 21:23:30 +0100 |
| commit | f4881fddf7e7c003a709a3ed5fd413270d41d261 (patch) | |
| tree | ab4cf3008856cdebfa032bb833957c607f2735e0 /src/server/types.odin | |
| parent | c67ba465cbee1c450f75785905ba5d74d03cb3c8 (diff) | |
Improved type completion + add constants type, add deprecrated tag.
Diffstat (limited to 'src/server/types.odin')
| -rw-r--r-- | src/server/types.odin | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/types.odin b/src/server/types.odin index f5aa2b3..9f3c866 100644 --- a/src/server/types.odin +++ b/src/server/types.odin @@ -267,9 +267,15 @@ CompletionItem :: struct { insertTextFormat: InsertTextFormat, insertText: string, additionalTextEdits: []TextEdit, + tags: []CompletionItemTag, + deprecated: bool, command: Command, } +CompletionItemTag :: enum { + Deprecated = 1, +} + CompletionList :: struct { isIncomplete: bool, items: []CompletionItem, |