From 2dddc86a42a77bd099a031165e57add84b9b0e82 Mon Sep 17 00:00:00 2001 From: Gregory Anders <8965202+gpanders@users.noreply.github.com> Date: Mon, 25 Apr 2022 08:44:18 -0600 Subject: fix: show autocmd output when F is in shortmess (#18251) The default value of including F in 'shortmess' has the unfortunate side effect of hiding output from autocommands. This is a common source of confusion and often leads people to think their autocommands are not working when they are. There is a small snippet in the docs for 'shortmess' indicating that the F flag suppresses autocmd output, but it's not easy to find if you don't already know to look for it. This commit removes that behavior of the F flag to make it only suppress file info when opening a new file. --- runtime/doc/options.txt | 3 +-- runtime/doc/vim_diff.txt | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime') diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 1966a344b2..b6f9c007ef 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -5532,8 +5532,7 @@ A jump table for the options with a short description can be found at |Q_op|. "Pattern not found", "Back at original", etc. q use "recording" instead of "recording @a" F don't give the file info when editing a file, like `:silent` - was used for the command; note that this also affects messages - from autocommands + was used for the command S do not show search count message when searching, e.g. "[1/5]" diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index f5cd24b734..540043f52d 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -375,6 +375,7 @@ Normal commands: Options: 'ttimeout', 'ttimeoutlen' behavior was simplified |jumpoptions| "stack" behavior + 'shortmess' the "F" flag does not affect output from autocommands Shell: Shell output (|:!|, |:make|, …) is always routed through the UI, so it -- cgit