summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
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;