From 0f00f31cbd9b13b41a0d3d976d192bbbeac9cbe8 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 1 Dec 2018 02:41:31 +0100 Subject: VimL/confirm(): Show dialog even if :silent closes #8788 related #9034 --- runtime/doc/various.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'runtime/doc') diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index 5f40ccf2ec..d78dd90f18 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -517,14 +517,9 @@ m *+xim* X input method |xim| :silent! /^begin :if v:errmsg != "" : ... pattern was not found -< ":silent" will also avoid the hit-enter prompt. When - using this for an external command, this may cause the - screen to be messed up. Use |CTRL-L| to clean it up - then. - ":silent menu ..." defines a menu that will not echo a - Command-line command. The command will still produce - messages though. Use ":silent" in the command itself - to avoid that: ":silent menu .... :silent command". +< ":silent" also skips the hit-enter prompt. + Dialogs that prompt for user input (|confirm()|, + 'swapfile', …) are never silent. *:uns* *:unsilent* :uns[ilent] {command} Execute {command} not silently. Only makes a -- cgit