diff options
author | pommicket <pommicket@gmail.com> | 2023-08-07 07:19:56 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-07 07:19:56 -0400 |
commit | b146279b48f6a4f4bea8946cb3f0f1f5cc5a9985 (patch) | |
tree | 70069f2f622f3b6190fa1effcfb9ce9e14d8f94b /lsp.h | |
parent | bdbce6fe3c647616d22867bbc82e011c91231dd3 (diff) |
handle more complicated renames
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; |