diff options
Diffstat (limited to 'lsp.h')
-rw-r--r-- | lsp.h | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -491,13 +491,15 @@ typedef struct { } LSPResponseDocumentLink; typedef struct { - LSPRequest request; // the request which this is a response to - char *error; // if not NULL, the data field will just be zeroed - // LSP responses tend to have a lot of strings. - // to avoid doing a ton of allocations+frees, - // they're all stored here. + /// the request which this is a response to + LSPRequest request; + /// if not NULL, the data field will just be zeroed + char *error; + /// LSP responses tend to have a lot of strings. + /// to avoid doing a ton of allocations+frees, + /// they're all stored here. char *string_data; - // one of these is filled based on request.type + /// one of these is filled based on request.type union { LSPResponseCompletion completion; LSPResponseSignatureHelp signature_help; |