Merge remote-tracking branch 'lenormf/fix-3410'
This commit is contained in:
commit
91e3a58a3a
|
@ -312,7 +312,7 @@ static const EnvVarDesc builtin_env_vars[] = { {
|
||||||
"selections_length", false,
|
"selections_length", false,
|
||||||
[](StringView name, const Context& context) -> Vector<String>
|
[](StringView name, const Context& context) -> Vector<String>
|
||||||
{ return context.selections() |
|
{ return context.selections() |
|
||||||
transform([&](const Selection& s) {
|
transform([&](const Selection& s) -> String {
|
||||||
return to_string(char_length(context.buffer(), s));
|
return to_string(char_length(context.buffer(), s));
|
||||||
}) | gather<Vector<String>>(); }
|
}) | gather<Vector<String>>(); }
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user