aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index c3077a4..7c1ab78 100644
--- a/vis.c
+++ b/vis.c
@@ -542,7 +542,8 @@ void action_do(Vis *vis, Action *a) {
window_jumplist_add(win, pos);
else
window_jumplist_invalidate(win);
- } else if (a->movement->type & INCLUSIVE) {
+ } else if (a->movement->type & INCLUSIVE ||
+ (linewise && a->movement->type & LINEWISE_INCLUSIVE)) {
c.range.end = text_char_next(txt, c.range.end);
}
} else if (a->textobj) {