diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-08-23 16:38:43 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-08-24 11:10:00 +0200 |
| commit | 9091346d44f5b1e6f61249feede28846d22351f0 (patch) | |
| tree | d61d9b774a805d1a651482f47a16d8d5d1d9940b /vis-text-objects.c | |
| parent | e2d51321f7284d11d9344e22117db31372fbe7a0 (diff) | |
| download | vis-9091346d44f5b1e6f61249feede28846d22351f0.tar.gz vis-9091346d44f5b1e6f61249feede28846d22351f0.tar.xz | |
vis: improve dot (repeat) command implmentation
Do not override implicit operator macro in command mode.
Fix #334
Diffstat (limited to 'vis-text-objects.c')
| -rw-r--r-- | vis-text-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
