diff options
-rw-r--r-- | find.c | 2 | ||||
-rw-r--r-- | lsp-write.c | 3 | ||||
-rw-r--r-- | main.c | 1 |
3 files changed, 2 insertions, 4 deletions
@@ -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"); @@ -1,6 +1,5 @@ /* TODO: -- fix find - fix ask-reload menu (clicking "no" will probably do nothing) - public Node API - public Selector/FileSelector API |