summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-22 18:55:15 -0500
committerpommicket <pommicket@gmail.com>2022-12-22 18:56:41 -0500
commit91ff61cc22c08e2c247b6b689561e6d18cf276e7 (patch)
treef8025b141122ba219fbe45a1a9c2770e49d76905 /lsp.h
parent2667c71e71d77ecade1142c133ed7181ce38c664 (diff)
detail text
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 d8d8029..d965cf6 100644
--- a/lsp.h
+++ b/lsp.h
@@ -136,6 +136,8 @@ typedef struct {
LSPString label;
// text used to filter completions
LSPString filter_text;
+ // more detail for this item, e.g. the signature of a function
+ LSPString detail;
// the edit to be applied when this completion is selected.
LSPTextEdit text_edit;
// note: the items are sorted here in this file,