summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-03 23:50:50 -0500
committerpommicket <pommicket@gmail.com>2023-01-03 23:50:50 -0500
commit3756a3e47221c3b0133724a482341a9010076a9e (patch)
tree7ad68fd0b76bd0e132fd86cd5044c3e08d581d22 /lsp.h
parent4e73c6a204383667aad6ce3905e16aee2a172fb6 (diff)
read workspace/symbols containerName
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lsp.h b/lsp.h
index f65004f..e3f3bcf 100644
--- a/lsp.h
+++ b/lsp.h
@@ -392,6 +392,9 @@ typedef struct {
LSPSymbolKind kind;
bool deprecated;
LSPLocation location;
+ // the "symbol containing this symbol"
+ // e.g. multiple classes might have a "foo" method, so this can be used to distinguish them.
+ LSPString container;
} LSPSymbolInformation;
typedef struct {