aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-05-10 17:39:09 +0200
committerGitHub <noreply@github.com>2017-05-10 17:39:09 +0200
commit031756c5e6a3dc2b9e811086a2531a41e4f58a19 (patch)
tree294effe35254d53766dfe2358415f26e8dd61cb9 /src/nvim/main.c
parentd9023b84e63f51611cf55f72ca5e021d64ba7ce9 (diff)
parent2d5920ae1ada751811e04bcc8d3a8fe4f890617a (diff)
downloadrneovim-031756c5e6a3dc2b9e811086a2531a41e4f58a19.tar.gz
rneovim-031756c5e6a3dc2b9e811086a2531a41e4f58a19.tar.bz2
rneovim-031756c5e6a3dc2b9e811086a2531a41e4f58a19.zip
Merge pull request #6618 from bfredl/ui_event
generate UI remote event wrappers and add them to metadata
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 1095d4d3b5..40b553e93c 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -1303,8 +1303,8 @@ static void handle_quickfix(mparm_T *paramp)
set_string_option_direct((char_u *)"ef", -1,
paramp->use_ef, OPT_FREE, SID_CARG);
vim_snprintf((char *)IObuff, IOSIZE, "cfile %s", p_ef);
- if (qf_init(NULL, p_ef, p_efm, TRUE, IObuff) < 0) {
- ui_putc('\n');
+ if (qf_init(NULL, p_ef, p_efm, true, IObuff) < 0) {
+ ui_linefeed();
mch_exit(3);
}
TIME_MSG("reading errorfile");