vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 2995f353aedd8c80f10be6e079e04df2eb6799db parent 153eb193b2f5598ddc0e70c52dc0538f96564f25 Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 28 Feb 2017 09:32:04 +0100 vis-lua: fix wrong return value when setting vis.count Diffstat:
| M | vis-lua.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vis-lua.c b/vis-lua.c @@ -1167,7 +1167,7 @@ static int vis_newindex(lua_State *L) { else count = luaL_checkunsigned(L, 3); vis_count_set(vis, count); - return 1; + return 0; } if (strcmp(key, "win") == 0) {