diff options
author | pommicket <pommicket@gmail.com> | 2023-08-13 22:10:18 -0300 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-13 22:10:18 -0300 |
commit | 74c32a957d8533f746c960e8f726670e3d6b1baf (patch) | |
tree | ffef1eaf9e1ccd3bf7bc162fec713bf85da87c4c | |
parent | 31c1f3acc7a56683b5512620419b8989a26dad4b (diff) |
fix find
-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 |