summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-30 11:38:00 -0500
committerpommicket <pommicket@gmail.com>2022-12-30 11:38:00 -0500
commit65cbe00bc124bdc1bd83bcd42ad5fbed521412b2 (patch)
tree7b4c617e427681fd58700ba0cc06286a38a90539 /lsp.h
parent4232df89b50754779814a97f374451fce2e36447 (diff)
parse workspace/symbol response
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lsp.h b/lsp.h
index 3529174..b80fbb2 100644
--- a/lsp.h
+++ b/lsp.h
@@ -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;