diff options
| -rw-r--r-- | vis-operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-operators.c b/vis-operators.c index 4a0ba42..6523a85 100644 --- a/vis-operators.c +++ b/vis-operators.c @@ -303,7 +303,7 @@ bool vis_operator(Vis *vis, enum VisOperator id, ...) { if (vis->action.op == op) { /* hacky way to handle double operators i.e. things like * dd, yy etc where the second char isn't a movement */ - vis->action.type = LINEWISE; + vis_motion_type(vis, VIS_MOTIONTYPE_LINEWISE); vis_motion(vis, VIS_MOVE_LINE_NEXT); } else { vis->action.op = op; |
