vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 4fb1c844a988e9be6091bd60efccefa539d64093 parent e363ff8fa513c9f3d405d3e1c54c0a5202101faa Author: Josh Wainwright <josh.wainwright@ldra.com> Date: Thu, 15 Dec 2016 11:49:10 +0100 vis: more informative error message for :set option Close #433 Diffstat:
| M | vis-cmds.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vis-cmds.c b/vis-cmds.c @@ -93,7 +93,7 @@ static bool cmd_set(Vis *vis, Win *win, Command *cmd, const char *argv[], Cursor } if (!win && (opt->flags & OPTION_FLAG_WINDOW)) { - vis_info_show(vis, "Need active window for :set command"); + vis_info_show(vis, "Need active window for :set %s", argv[1]); return false; }