src: Don't save whitespace-led commands in the : register

This commit is contained in:
Frank LENORMAND 2017-11-04 09:18:26 +03:00
parent 39e63cf518
commit 8900690288

View File

@ -455,7 +455,7 @@ void command(Context& context, NormalParams params)
{
if (cmdline.empty())
cmdline = context.main_sel_register_value(':');
else
else if (not is_blank(cmdline[0]))
RegisterManager::instance()[':'].set(context, cmdline.str());
EnvVarMap env_vars = {