refactor: remove cancel idle action again

This commit is contained in:
CJ van den Berg 2026-01-14 12:55:40 +01:00
parent 2ca613c5a6
commit dc077350cd
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 0 additions and 5 deletions

View file

@ -79,7 +79,6 @@ const default_actions = [_]IdleAction{};
pub const IdleAction = enum {
hover,
highlight_references,
cancel,
};
pub const DigitStyle = enum {

View file

@ -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(.{});
},