diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-22 08:30:39 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-22 10:16:24 -0400 |
| commit | 81cf474010cdf0591266f78aa7a712979864e89a (patch) | |
| tree | 1e2a799c6d85032168ff4d048cfe5992753f1d21 /src/server/types.odin | |
| parent | fdf4aa1dc49b47f641b771fc9e0791489f4e5526 (diff) | |
Move comments from details to the end of the docs for the symbol and
use markdown for completion docs
Diffstat (limited to 'src/server/types.odin')
| -rw-r--r-- | src/server/types.odin | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/server/types.odin b/src/server/types.odin index 1da5f3c..78a7158 100644 --- a/src/server/types.odin +++ b/src/server/types.odin @@ -355,11 +355,16 @@ InsertTextMode :: enum { adjustIndentation = 2, } +CompletionDocumention :: union { + MarkupContent, + string, +} + CompletionItem :: struct { label: string, kind: CompletionItemKind, detail: string, - documentation: string, + documentation: CompletionDocumention, insertTextFormat: Maybe(InsertTextFormat), insertText: Maybe(string), InsertTextMode: Maybe(InsertTextMode), |