1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-29 10:02:57 +03:00

Support setting registers to empty lists

Note that empty registers still act as-if they contained a single
empty string.

Fixes #2228
This commit is contained in:
Maxime Coste 2018-07-23 08:35:13 +10:00
parent f27700cc53
commit bbb508634e

View File

@ -2124,7 +2124,7 @@ const CommandDesc set_register_cmd = {
"set-register",
"reg",
"set-register <name> <values>...: set register <name> to <values>",
ParameterDesc{{}, ParameterDesc::Flags::SwitchesAsPositional, 2},
ParameterDesc{{}, ParameterDesc::Flags::SwitchesAsPositional, 1},
CommandFlags::None,
CommandHelper{},
CommandCompleter{},