fix: don't stomp on existing selection when entering helix SEL mode
This commit is contained in:
parent
eba444c6fc
commit
d410fabf1b
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ const cmds_ = struct {
|
|||
const root = try self.buf_root();
|
||||
for (self.cursels.items) |*cursel_| {
|
||||
if (cursel_.*) |*cursel|
|
||||
cursel.selection = Selection.from_cursor_inclusive(&cursel.cursor, root, self.metrics);
|
||||
_ = cursel.enable_selection_inclusive(root, self.metrics);
|
||||
}
|
||||
}
|
||||
pub const init_helix_select_mode_meta: Meta = .{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue