src: Don't save whitespace-led commands in the :
register
This commit is contained in:
parent
39e63cf518
commit
8900690288
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user