vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit dc6a8fdc4f93287f0895aa9af5d52f208f631495
parent 5dbd4d3faa0723e65a8cdebf4bf15212493a22ce
Author: Steven Noonan <steven@uplinklabs.net>
Date:   Mon, 11 Apr 2016 15:10:08 -0700

sam.c: fix some typos in comment

Signed-off-by: Steven Noonan <steven@uplinklabs.net>

Diffstat:
Msam.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sam.c b/sam.c @@ -1080,13 +1080,13 @@ static bool cmd_filter(Vis *vis, Win *win, Command *cmd, const char *argv[], Cur /* The general idea is the following: * * 1) take a snapshot - * 2) write [range.start, range.end] to exteneral command + * 2) write [range.start, range.end] to external command * 3) read the output of the external command and insert it after the range * 4) depending on the exit status of the external command * - on success: delete original range * - on failure: revert to previous snapshot * - * 2) and 3) happend in small junks + * 2) and 3) happen in small chunks */ text_snapshot(txt);