diff options
author | pommicket <pommicket@gmail.com> | 2022-12-30 11:38:00 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-30 11:38:00 -0500 |
commit | 65cbe00bc124bdc1bd83bcd42ad5fbed521412b2 (patch) | |
tree | 7b4c617e427681fd58700ba0cc06286a38a90539 /lsp.h | |
parent | 4232df89b50754779814a97f374451fce2e36447 (diff) |
parse workspace/symbol response
Diffstat (limited to 'lsp.h')
-rw-r--r-- | lsp.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -301,6 +301,12 @@ typedef struct { LSPLocation *locations; } LSPResponseDefinition; +typedef enum { + #define LSP_SYMBOL_TAG_MIN 1 + LSP_SYMBOL_TAG_DEPRECATED = 1 + #define LSP_SYMBOL_TAG_MAX 1 +} LSPSymbolTag; + // SymbolInformation in the LSP spec typedef struct { LSPString name; @@ -327,6 +333,7 @@ typedef struct { LSPResponseSignatureHelp signature_help; LSPResponseHover hover; LSPResponseDefinition definition; + LSPResponseWorkspaceSymbols workspace_symbols; } data; } LSPResponse; |