mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user