diff --git a/src/config.zig b/src/config.zig index a492272..c16ee16 100644 --- a/src/config.zig +++ b/src/config.zig @@ -79,7 +79,6 @@ const default_actions = [_]IdleAction{}; pub const IdleAction = enum { hover, highlight_references, - cancel, }; pub const DigitStyle = enum { diff --git a/src/tui/editor.zig b/src/tui/editor.zig index b26e323..34fa63b 100644 --- a/src/tui/editor.zig +++ b/src/tui/editor.zig @@ -6928,10 +6928,6 @@ pub const EditorWidget = struct { try self.editor.hover_at_abs(@intCast(self.hover_y), @intCast(self.hover_x)); } else if (try m.match(.{"input_idle"})) { for (tui.config().idle_actions) |action| switch (action) { - .cancel => { - self.editor.cancel_all_matches(); - tui.need_render(); - }, .hover => { try self.editor.hover(.{}); },