From 9091346d44f5b1e6f61249feede28846d22351f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 23 Aug 2016 16:38:43 +0200 Subject: vis: improve dot (repeat) command implmentation Do not override implicit operator macro in command mode. Fix #334 --- vis-text-objects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis-text-objects.c') diff --git a/vis-text-objects.c b/vis-text-objects.c index 1140d86..b3ed463 100644 --- a/vis-text-objects.c +++ b/vis-text-objects.c @@ -26,7 +26,7 @@ bool vis_textobject(Vis *vis, enum VisTextObject id) { vis->action.textobj = array_get_ptr(&vis->textobjects, id - LENGTH(vis_textobjects)); if (!vis->action.textobj) return false; - action_do(vis, &vis->action); + vis_do(vis); return true; } -- cgit v1.2.3