aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinda_pp <rhysd@users.noreply.github.com>2016-10-15 01:12:10 +0900
committerJustin M. Keyes <justinkz@gmail.com>2016-10-14 18:12:10 +0200
commit79d77da8a06bf91a77cc96a1f1fba30bbd991a23 (patch)
tree5b7099b416ab44055fdf14a19307b86408a6e312 /src
parent819b79dbc5a6724b38fde606e065aabd761a870d (diff)
downloadrneovim-79d77da8a06bf91a77cc96a1f1fba30bbd991a23.tar.gz
rneovim-79d77da8a06bf91a77cc96a1f1fba30bbd991a23.tar.bz2
rneovim-79d77da8a06bf91a77cc96a1f1fba30bbd991a23.zip
startup: Remove 'N files to edit' message. #5481
Problem: When '--embed' passed to command line arguments, stdin and stdout are used for IPC. But when multiple files are passed as arguments, nvim wrongly sends 'N files to edit' message to its stdout. As the result, attaching to process from frontend failed. Solution: Remove the message because it doesn't fill any purpose.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 793babd4e5..eb67483d08 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -270,11 +270,6 @@ int main(int argc, char **argv)
setbuf(stdout, NULL);
- /* This message comes before term inits, but after setting "silent_mode"
- * when the input is not a tty. */
- if (GARGCOUNT > 1 && !silent_mode)
- printf(_("%d files to edit\n"), GARGCOUNT);
-
full_screen = true;
check_tty(&params);