fix: prevent different match types from cancelling each other out
This commit is contained in:
parent
7b9a4071c8
commit
36c975dc20
3 changed files with 46 additions and 21 deletions
|
|
@ -91,7 +91,7 @@ fn flush_input(self: *Self) !void {
|
|||
const primary = self.editor.get_primary();
|
||||
primary.selection = null;
|
||||
primary.cursor = self.start_cursor;
|
||||
try self.editor.find_in_buffer(self.input_.items);
|
||||
try self.editor.find_in_buffer(self.input_.items, .find);
|
||||
} else {
|
||||
self.editor.get_primary().selection = null;
|
||||
self.editor.init_matches_update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue