aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index 431c779..64ad3ba 100644
--- a/vis.c
+++ b/vis.c
@@ -822,11 +822,11 @@ void vis_do(Vis *vis) {
count = 1; /* count should apply to inserted text not motion */
bool repeatable = a->op && !vis->macro_operator && !vis->win->parent;
bool multiple_cursors = view_selections_count(view) > 1;
+
bool linewise = !(a->type & CHARWISE) && (
a->type & LINEWISE || (a->movement && a->movement->type & LINEWISE) ||
vis->mode == &vis_modes[VIS_MODE_VISUAL_LINE]);
-
Register *reg = a->reg;
size_t reg_slot = multiple_cursors ? EPOS : 0;
size_t last_reg_slot = reg_slot;