summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-30 21:49:05 -0500
committerpommicket <pommicket@gmail.com>2022-12-30 21:49:05 -0500
commitf69275faee4cd3045389a98fefefb0c683757a5c (patch)
treec7b0e5cfe59205554e3b5fc5410d3bff9fe89599 /main.c
parenta997d4106a397c785473bec5862c91bdf49f06ee (diff)
start document highlights
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 4c380ea..daf483f 100644
--- a/main.c
+++ b/main.c
@@ -39,6 +39,7 @@ FUTURE FEATURES:
- :set-build-command
- document links using LSP textDocument/documentLink request
- rename using LSP (textDocument/rename)
+ - we have request writing & response parsing support for it, but that hasn't been tested yet
- i'm putting this off for now since it seems hard to have undo support for it.
- add numlock as a key modifier? (but make sure "Ctrl+S" handles both "No NumLock+Ctrl+S" and "NumLock+Ctrl+S")
- better undo chaining (dechain on backspace?)
@@ -153,6 +154,7 @@ bool tag_goto(Ted *ted, char const *tag);
#include "ide-signature-help.c"
#include "ide-hover.c"
#include "ide-definitions.c"
+#include "ide-highlights.c"
#include "command.c"
#include "config.c"
#include "session.c"
@@ -1152,7 +1154,9 @@ int main(int argc, char **argv) {
if (ted->menu)
menu_close(ted);
hover_close(ted);
+ signature_help_close(ted);
autocomplete_close(ted);
+ highlights_close(ted);
session_write(ted);
for (int i = 0; i < TED_LSP_MAX; ++i) {