summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-05 15:08:45 -0400
committerpommicket <pommicket@gmail.com>2023-08-05 15:08:45 -0400
commit4b10cb8f0892a720bd8d7f61b39f5faffc43107c (patch)
tree0c28195572231c93c11fa3d6b625ea0dc0328ce9 /main.c
parentb65943698a241624973f3ab54530bb5d5884cff2 (diff)
internalize signature help, usages
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/main.c b/main.c
index ec8af1e..cae3b05 100644
--- a/main.c
+++ b/main.c
@@ -501,6 +501,8 @@ int main(int argc, char **argv) {
gl_geometry_init();
text_init();
autocomplete_init(ted);
+ signature_help_init(ted);
+ usages_init(ted);
PROFILE_TIME(gl_end)
@@ -1184,8 +1186,9 @@ int main(int argc, char **argv) {
if (ted->menu)
menu_close(ted);
hover_close(ted);
- signature_help_close(ted);
- autocomplete_close(ted);
+ signature_help_quit(ted);
+ autocomplete_quit(ted);
+ usages_quit(ted);
highlights_close(ted);
session_write(ted);
rename_symbol_clear(ted);