aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-02-06 22:58:38 +0100
committerGitHub <noreply@github.com>2018-02-06 22:58:38 +0100
commit2a4c9c6e4573ebeaaf5d30aeb2c8a9ce2ecab0d5 (patch)
treea2ec5e3873226f665f1e809d415c46539811173e /src/nvim/quickfix.c
parent0851057a8deaa1197bd0af22babb62c1146d836c (diff)
parent6744f48d884902483f95c9b89877da36032e2677 (diff)
downloadrneovim-2a4c9c6e4573ebeaaf5d30aeb2c8a9ce2ecab0d5.tar.gz
rneovim-2a4c9c6e4573ebeaaf5d30aeb2c8a9ce2ecab0d5.tar.bz2
rneovim-2a4c9c6e4573ebeaaf5d30aeb2c8a9ce2ecab0d5.zip
Merge pull request #7844 from bfredl/shellout
shell: use msg functions for :!cmd so UTF-8 and binary is supported.
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 63252df3dc..ea2d13761c 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -3148,10 +3148,9 @@ void ex_make(exarg_T *eap)
}
msg_start();
MSG_PUTS(":!");
- msg_outtrans((char_u *) cmd); // show what we are doing
+ msg_outtrans((char_u *)cmd); // show what we are doing
- // let the shell know if we are redirecting output or not
- do_shell((char_u *) cmd, *p_sp != NUL ? kShellOptDoOut : 0);
+ do_shell((char_u *)cmd, 0);
res = qf_init(wp, fname, (eap->cmdidx != CMD_make