summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-28 12:25:18 -0500
committerpommicket <pommicket@gmail.com>2022-12-28 12:25:18 -0500
commitd6b2cc80723ce6e8454449bcdcdcb495f7a08ad9 (patch)
tree0c51db5f1b26b2634ef3d3e6fd7916b612d748e8 /ted.h
parent92e8db6a364b8d1c38f3c15b8e040f6fb7c564f0 (diff)
refresh signature help when cursor moved or buffer switched
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 0f6bcdf..21d3bf5 100644
--- a/ted.h
+++ b/ted.h
@@ -430,6 +430,8 @@ typedef struct {
// "signature help" (LSP) is thing that shows the current parameter, etc.
typedef struct {
+ // should we resend a signature help request this frame?
+ bool retrigger;
// if signature_count = 0, signature help is closed
u16 signature_count;
Signature signatures[SIGNATURE_HELP_MAX];
@@ -553,6 +555,7 @@ typedef struct Ted {
} Ted;
void autocomplete_close(Ted *ted);
+void signature_help_retrigger(Ted *ted);
char *buffer_contents_utf8_alloc(TextBuffer *buffer);
void command_execute(Ted *ted, Command c, i64 argument);
void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer);