aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-09-26 19:31:26 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-09-28 03:01:57 +0200
commit9c2f4ce20d4ab36b17887ae927bab73432565515 (patch)
treef9070585cb19007c9583a160b088473306d1fbf4 /src/nvim/ex_cmds.c
parent22dfe6925d4784cf60d8d9a054abc5066e4b867f (diff)
downloadrneovim-9c2f4ce20d4ab36b17887ae927bab73432565515.tar.gz
rneovim-9c2f4ce20d4ab36b17887ae927bab73432565515.tar.bz2
rneovim-9c2f4ce20d4ab36b17887ae927bab73432565515.zip
doc: minor comment tweaks
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,