diff --git a/src/tui/mode/overlay/completion_dropdown.zig b/src/tui/mode/overlay/completion_dropdown.zig index 7415c9d..8d6ca28 100644 --- a/src/tui/mode/overlay/completion_dropdown.zig +++ b/src/tui/mode/overlay/completion_dropdown.zig @@ -375,11 +375,6 @@ const cmds = struct { const Result = command.Result; pub fn update_completion(self: *Type, _: Ctx) Result { - if (self.value.editor.completions.data.items.len == 0) { - tp.self_pid().send(.{ "cmd", "palette_menu_cancel" }) catch |e| self.logger.err(module_name, e); - return; - } - clear_entries(self); self.longest_hint = try load_entries(self); try update_query_text(self, self.value.editor.get_primary().cursor);