mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 07:53:41 +03:00
Display command info only when the autoinfo option is true
This commit is contained in:
parent
486d1269e0
commit
e6f5b3c038
@ -421,7 +421,7 @@ void command(Context& context, int)
|
||||
if (context.has_ui())
|
||||
{
|
||||
context.ui().info_hide();
|
||||
if (event == PromptEvent::Change)
|
||||
if (event == PromptEvent::Change and context.options()["autoinfo"].get<bool>())
|
||||
{
|
||||
auto info = CommandManager::instance().command_info(cmdline);
|
||||
ColorPair col = get_color("Information");
|
||||
|
Loading…
Reference in New Issue
Block a user