diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-05-24 11:51:35 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-06-04 02:09:24 +0200 |
commit | d00ef758c3a644759064565cdc7fc219ece0df3a (patch) | |
tree | a5953c43f8ba7b8073dbb276b2d4502a113ca297 /src/nvim/message.c | |
parent | 4b70ebe0130d746a471cd2772483979c68ee6744 (diff) | |
download | rneovim-d00ef758c3a644759064565cdc7fc219ece0df3a.tar.gz rneovim-d00ef758c3a644759064565cdc7fc219ece0df3a.tar.bz2 rneovim-d00ef758c3a644759064565cdc7fc219ece0df3a.zip |
lint
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 7ca82c2878..63accaaa23 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -2076,8 +2076,9 @@ static void t_puts(int *t_col, const char_u *t_s, const char_u *s, int attr) } } -// Returns TRUE when messages should be printed to stdout/stderr, which -// happens when no UIs are attached and nvim is not being embedded +// Returns TRUE when messages should be printed to stdout/stderr: +// - "batch mode" ("silent mode", -es/-Es) +// - no UI and not embedded int msg_use_printf(void) { return !embedded_mode && !ui_active(); |