1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 01:11:36 +03:00

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()) 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 = {