startup: fix -es/-Es so they are actually silent

silent-mode (-es/-Es) has been broken for years.  The workaround up to
now was to include --headless.  But --headless is not equivalent because
it prints all messages, not the limited subset defined by silent-mode.
This commit is contained in:
Justin M. Keyes
2018-05-27 03:41:02 +02:00
parent 787ae1b38b
commit 63058fb5b0
4 changed files with 64 additions and 28 deletions

View File

@@ -580,10 +580,6 @@ EXTERN int sandbox INIT(= 0);
/// Batch-mode: "-es" or "-Es" commandline argument was given.
EXTERN int silent_mode INIT(= false);
/// Set to true when sourcing of startup scripts (init.vim) is done.
/// Used for options that cannot be changed after startup scripts.
EXTERN bool did_source_startup_scripts INIT(= false);
/// Start position of active Visual selection.
EXTERN pos_T VIsual;
/// Whether Visual mode is active.