diff options
author | pommicket <pommicket@gmail.com> | 2022-12-22 21:23:54 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-22 21:23:54 -0500 |
commit | c58f2247a9f9aaea86e461c176e4757e4d17292f (patch) | |
tree | ed453ed66b5e576c0029539faa0982c6c26cf31a /ted.h | |
parent | 91ff61cc22c08e2c247b6b689561e6d18cf276e7 (diff) |
symbol kind
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -352,11 +352,23 @@ typedef struct { u32 build_output_line; // which line in the build output corresponds to this error } BuildError; +// LSPSymbolKinds are translated to these. this is a much coarser categorization +typedef enum { + SYMBOL_OTHER, + SYMBOL_FUNCTION, + SYMBOL_FIELD, + SYMBOL_TYPE, + SYMBOL_VARIABLE, + SYMBOL_CONSTANT, + SYMBOL_KEYWORD +} SymbolKind; + typedef struct { char *label; char *filter; char *text; char *detail; // this can be NULL! + SymbolKind kind; } Autocompletion; typedef struct { |