summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-23 00:18:07 -0500
committerpommicket <pommicket@gmail.com>2022-12-23 00:18:07 -0500
commit7f98e047cb791b84cc955f534a7e94395fed1ae0 (patch)
treeb295b9bdbd8ad4bcd88e7e73f025109d5b63af93 /lsp.h
parentdaee4283b56603e172aac547c20c5534e588f60d (diff)
show documentation!
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lsp.h b/lsp.h
index 612b370..72e621e 100644
--- a/lsp.h
+++ b/lsp.h
@@ -202,6 +202,8 @@ typedef struct {
LSPString filter_text;
// more detail for this item, e.g. the signature of a function
LSPString detail;
+ // documentation for this item (typically from a doc comment)
+ LSPString documentation;
// the edit to be applied when this completion is selected.
LSPTextEdit text_edit;
// note: the items are sorted here in this file,