summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-06 22:48:10 -0400
committerpommicket <pommicket@gmail.com>2023-08-06 22:48:10 -0400
commit81354f84a463ef782f53358a3a3f9b359ece9a64 (patch)
treef60ab47ac87d2f7195f19aefef1fa03d69e71e1d /main.c
parent419d5b17f27b8d3dda1e59c6193f1ad9c3d218f8 (diff)
rework edit notify
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/main.c b/main.c
index 19d4b6c..3dd4fe5 100644
--- a/main.c
+++ b/main.c
@@ -1,9 +1,11 @@
/*
+TODO:
+- robust find (results shouldn't move around when you type things)
+
FUTURE FEATURES:
- autodetect indentation (tabs vs spaces)
-- robust find (results shouldn't move around when you type things)
- config variables
-- bind key to multiple commands
+- bind key to series of commands
- convert macro to command list
- plugins?
- built-in plugins
@@ -501,6 +503,7 @@ int main(int argc, char **argv) {
hover_init(ted);
rename_symbol_init(ted);
document_link_init(ted);
+ find_init(ted);
PROFILE_TIME(gl_end)
@@ -1193,6 +1196,8 @@ int main(int argc, char **argv) {
rename_symbol_quit(ted);
document_link_quit(ted);
menu_quit(ted);
+ arr_free(ted->edit_notifys);
+
for (int i = 0; i < TED_LSP_MAX; ++i) {
if (!ted->lsps[i]) break;