diff options
author | pommicket <pommicket@gmail.com> | 2022-12-20 20:39:43 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-20 20:39:43 -0500 |
commit | 885df8890e537383df71f8f828444d6c5cce0243 (patch) | |
tree | 469388524c6738c3c44d9ee45c5d114b6ed0cb44 /lsp.h | |
parent | d3375f02cfed99ed40c28631e62654af23817729 (diff) |
more completion
Diffstat (limited to 'lsp.h')
-rw-r--r-- | lsp.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -127,7 +127,11 @@ typedef struct { } LSPTextEdit; typedef struct { + // display text for this completion LSPString label; + // text used to filter completions + LSPString filter_text; + // the edit to be applied when this completion is selected. LSPTextEdit text_edit; // note: the items are sorted here in this file, // so you probably don't need to access this. @@ -141,7 +145,7 @@ typedef struct { typedef LSPRequestType LSPResponseType; typedef struct { - LSPResponseType type; + LSPRequest request; // the request which this is a response to // LSP responses tend to have a lot of strings. // to avoid doing a ton of allocations+frees, // they're all stored here. |