From fd9fa4ee8f9a6a9aff4577dae39ba05461537df0 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 2 Dec 2025 13:29:12 +0100 Subject: [PATCH] Revert "fix: build fix after rebase/merge" This reverts commit 423b8c1613e429f6b8258ac00d7de268bcc16bac. --- src/tui/mode/helix.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/mode/helix.zig b/src/tui/mode/helix.zig index cceab4e..4a42991 100644 --- a/src/tui/mode/helix.zig +++ b/src/tui/mode/helix.zig @@ -568,7 +568,7 @@ fn extend_to_word(ctx: command.Context, move: Editor.cursor_operator_const, _: D var repeat: usize = 1; _ = ctx.args.match(.{tp.extract(&repeat)}) catch false; for (ed.cursels.items) |*cursel_| if (cursel_.*) |*cursel| { - const sel = cursel.enable_selection(root, ed.metrics); + const sel = try cursel.enable_selection(root, ed.metrics); const pivot: usize = if (sel.is_reversed()) sel.begin.col -| 1 else sel.begin.col; var i: usize = repeat; while (i > 0) : (i -= 1) {