diff options
author | pommicket <pommicket@gmail.com> | 2022-12-28 12:08:36 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-28 12:08:36 -0500 |
commit | 92e8db6a364b8d1c38f3c15b8e040f6fb7c564f0 (patch) | |
tree | 36339bd5be0ef47a4bc1e6383602d74af8fab496 /main.c | |
parent | 11df4f10197d67e5b61898bd98cdfccc1159dd26 (diff) |
nice signature help (still needs work)
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -787,7 +787,7 @@ int main(int argc, char **argv) { } } - if (ted->signature_help.open) { + if (signature_help_is_open(ted)) { arr_foreach_ptr(lsp->signature_help_retrigger_chars, char32_t, c) { if (*c == last_char) { signature_help = true; @@ -1010,9 +1010,9 @@ int main(int argc, char **argv) { if (ted->nodes_used[0]) { float y1 = padding; node_frame(ted, node, rect4(x1, y1, x2, y)); - if (ted->autocomplete.open) { + if (ted->autocomplete.open) autocomplete_frame(ted); - } + signature_help_frame(ted); } else { autocomplete_close(ted); text_utf8_anchored(font, "Press Ctrl+O to open a file or Ctrl+N to create a new one.", |