summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-13 22:10:18 -0300
committerpommicket <pommicket@gmail.com>2023-08-13 22:10:18 -0300
commit74c32a957d8533f746c960e8f726670e3d6b1baf (patch)
treeffef1eaf9e1ccd3bf7bc162fec713bf85da87c4c
parent31c1f3acc7a56683b5512620419b8989a26dad4b (diff)
fix find
-rw-r--r--find.c2
-rw-r--r--lsp-write.c3
-rw-r--r--main.c1
3 files changed, 2 insertions, 4 deletions
diff --git a/find.c b/find.c
index 92015bc..8cf2e04 100644
--- a/find.c
+++ b/find.c
@@ -568,7 +568,7 @@ static void find_edit_notify(void *context, TextBuffer *buffer, const EditInfo *
find_research_lines(ted, line, line);
}
- } else if (buffer == ted->line_buffer) {
+ } else if (buffer == ted->find_buffer) {
find_redo_search(ted);
buffer_scroll_to_cursor(buffer);
}
diff --git a/lsp-write.c b/lsp-write.c
index 20a72ca..85c5781 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -458,8 +458,7 @@ void write_request(LSP *lsp, LSPRequest *request) {
write_key_obj_start(o, "workspace");
write_key_bool(o, "workspaceFolders", true);
write_key_obj_start(o, "workspaceEdit");
- // currently unsupported -- see ide-rename-symbol.c
- // write_key_bool(o, "documentChanges", true);
+ write_key_bool(o, "documentChanges", true);
write_key_arr_start(o, "resourceOperations");
write_arr_elem_string(o, "create");
write_arr_elem_string(o, "rename");
diff --git a/main.c b/main.c
index de4657f..f319dc6 100644
--- a/main.c
+++ b/main.c
@@ -1,6 +1,5 @@
/*
TODO:
-- fix find
- fix ask-reload menu (clicking "no" will probably do nothing)
- public Node API
- public Selector/FileSelector API