aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-09-28 12:46:03 +0200
committerGitHub <noreply@github.com>2016-09-28 12:46:03 +0200
commit87fa495b21c8afa77c190b30e67c78f237c77216 (patch)
tree3b426c3d6ede9c7ea4099c1c798fdac05e662d38 /src/nvim/ex_cmds.c
parent22dfe6925d4784cf60d8d9a054abc5066e4b867f (diff)
parent7e6a8310b73579b2fa78fb6c410c7101a9f70254 (diff)
downloadrneovim-87fa495b21c8afa77c190b30e67c78f237c77216.tar.gz
rneovim-87fa495b21c8afa77c190b30e67c78f237c77216.tar.bz2
rneovim-87fa495b21c8afa77c190b30e67c78f237c77216.zip
Merge #5395 from justinmk/log
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index c36c3a7b0e..0226499e78 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -1154,15 +1154,11 @@ static void do_filter(
}
read_linecount = curbuf->b_ml.ml_line_count;
- /*
- * When call_shell() fails wait_return() is called to give the user a
- * chance to read the error messages. Otherwise errors are ignored, so you
- * can see the error messages from the command that appear on stdout; use
- * 'u' to fix the text
- * Switch to cooked mode when not redirecting stdin, avoids that something
- * like ":r !cat" hangs.
- * Pass on the kShellDoOut flag when the output is being redirected.
- */
+ // When call_shell() fails wait_return() is called to give the user a chance
+ // to read the error messages. Otherwise errors are ignored, so you can see
+ // the error messages from the command that appear on stdout; use 'u' to fix
+ // the text.
+ // Pass on the kShellDoOut flag when the output is being redirected.
if (call_shell(
cmd_buf,
kShellOptFilter | shell_flags,