Merge remote-tracking branch 'krobelus/fix-quoted-vals-expand'

This commit is contained in:
Maxime Coste 2023-11-03 21:51:36 +11:00
commit 6a39ac224b
4 changed files with 5 additions and 1 deletions

View File

@ -377,7 +377,7 @@ void expand_token(Token&& token, const Context& context, const ShellContext& she
auto val = ShellManager::instance().get_val(content, context); auto val = ShellManager::instance().get_val(content, context);
if constexpr (single) if constexpr (single)
return set_target(join(val, false, ' ')); return set_target(join(val, ' ', false));
else else
return set_target(std::move(val)); return set_target(std::move(val));
} }

View File

@ -0,0 +1 @@
:exec "%%c%val{selections_desc}<lt>esc>"<ret>

View File

@ -0,0 +1,2 @@
%(sel1)
%(sel2)

View File

@ -0,0 +1 @@
2.2,2.5 1.1,1.4