diff options
author | pommicket <pommicket@gmail.com> | 2022-12-30 14:57:26 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-30 14:57:26 -0500 |
commit | 547bfbba7a1ef84d397711882a501fc4914addba (patch) | |
tree | fd702946ac77db0c828e871f4ad90ae6fe99198b /ted.h | |
parent | f2c8a3a77fdd7f397e04edcaf5dae5e7777f03b6 (diff) |
show location in definitions menu
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -272,7 +272,9 @@ ENUM_U16 { } ENUM_U16_END(Menu); typedef struct { - char const *name; + const char *name; + // if not NULL, this will show on the right side of the entry. + const char *detail; u32 color; } SelectorEntry; @@ -415,6 +417,7 @@ typedef struct { typedef struct { char *name; + char *detail; u32 color; bool from_lsp; LSPDocumentPosition position; // only set if from_lsp = true |