diff options
| author | Josh Wainwright <josh.wainwright@ldra.com> | 2016-12-15 11:49:10 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-15 11:51:26 +0100 |
| commit | aa28462c2102e3c24fa8dc4e60436665f53862ea (patch) | |
| tree | 1b9f0e1fbf4579c7b67670040bcc523bf0d64af4 | |
| parent | d00e7de931751d78b2771c3424230da6692cf078 (diff) | |
| download | vis-aa28462c2102e3c24fa8dc4e60436665f53862ea.tar.gz vis-aa28462c2102e3c24fa8dc4e60436665f53862ea.tar.xz | |
vis: more informative error message for :set option
Close #433
| -rw-r--r-- | vis-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
