vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 477ea083b57993573eec1fbfefcaee0823e2008d parent 7163596ff7851904e1734ce89e129dbba5da55e7 Author: Silvan Jegen <s.jegen@gmail.com> Date: Tue, 5 May 2015 18:24:35 +0200 Use the command name without the Filerange in argv Signed-off-by: Silvan Jegen <s.jegen@gmail.com> Diffstat:
| M | vis.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vis.c b/vis.c @@ -1780,7 +1780,7 @@ static bool exec_cmdline_command(const char *cmdline) { } char *s = param; - const char *argv[32] = { line }; + const char *argv[32] = { name }; for (int i = 1; i < LENGTH(argv); i++) { while (s && *s && *s == ' ') s++;