Merge remote-tracking branch 'lenormf/fix-private-commands-in-register'
This commit is contained in:
commit
52f4af6a83
|
@ -455,7 +455,7 @@ void command(Context& context, NormalParams params)
|
||||||
{
|
{
|
||||||
if (cmdline.empty())
|
if (cmdline.empty())
|
||||||
cmdline = context.main_sel_register_value(':');
|
cmdline = context.main_sel_register_value(':');
|
||||||
else
|
else if (not is_blank(cmdline[0]))
|
||||||
RegisterManager::instance()[':'].set(context, cmdline.str());
|
RegisterManager::instance()[':'].set(context, cmdline.str());
|
||||||
|
|
||||||
EnvVarMap env_vars = {
|
EnvVarMap env_vars = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user