vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 2f267fd15a2d0e9ebba5bfb3e82a8eb40e799ae3 parent 9943a48955d00d0f47c4e36d503b9fb64a0e4642 Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 5 Apr 2016 16:00:15 +0200 sam: cosmetic changes Diffstat:
| M | sam.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sam.c b/sam.c @@ -87,7 +87,7 @@ static bool cmd_pipeout(Vis*, Win*, Command*, const char *argv[], Cursor*, Filer static bool cmd_filter(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); static bool cmd_launch(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); static bool cmd_substitute(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); -static bool cmd_write(Vis*, Win*, Command*,const char *argv[], Cursor*, Filerange*); +static bool cmd_write(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); static bool cmd_read(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); static bool cmd_edit(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); static bool cmd_quit(Vis*, Win*, Command*, const char *argv[], Cursor*, Filerange*); @@ -171,7 +171,7 @@ const char *sam_error(enum SamError err) { [SAM_ERR_REGEX] = "Bad regular expression", [SAM_ERR_TEXT] = "Bad text", [SAM_ERR_FILENAME] = "Filename expected", - [SAM_ERR_COMMAND] = "Unknown sam command", + [SAM_ERR_COMMAND] = "Unknown command", [SAM_ERR_EXECUTE] = "Error executing command", };