aboutsummaryrefslogtreecommitdiff
path: root/vis-lua.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-04-28 11:34:26 +0200
committerMarc André Tanner <mat@brain-dump.org>2018-05-16 13:24:01 +0200
commite34b829bbb284972dd391ae00b22274e47d55f16 (patch)
tree9d6092a1f6a036d0fc87bfc1dc6e7050e3c5b6fb /vis-lua.c
parent55ea139a5bee4d3dd503ccc255865fc1c6c3fabe (diff)
downloadvis-e34b829bbb284972dd391ae00b22274e47d55f16.tar.gz
vis-e34b829bbb284972dd391ae00b22274e47d55f16.tar.xz
vis: remove v and V in operator pending mode
Diffstat (limited to 'vis-lua.c')
-rw-r--r--vis-lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-lua.c b/vis-lua.c
index 124e380..70c3996 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -1016,7 +1016,7 @@ static size_t motion_lua(Vis *vis, Win *win, void *data, size_t pos) {
static int motion_register(lua_State *L) {
Vis *vis = obj_ref_check(L, 1, "vis");
const void *func = func_ref_new(L, 2);
- int id = vis_motion_register(vis, 0, (void*)func, motion_lua);
+ int id = vis_motion_register(vis, (void*)func, motion_lua);
lua_pushinteger(L, id);
return 1;
}