From 0a66eb9c47ba9a7d3b90286d66a70b5bd7eee15a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 1 Mar 2020 13:28:06 +1100 Subject: Expand env vars as list of strings This makes it possible to do :select `%val{selections_decs}` and to correctly combine $kak_quoted with those. --- src/buffer_utils.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buffer_utils.hh') diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh index dbbef984..8a9c6d24 100644 --- a/src/buffer_utils.hh +++ b/src/buffer_utils.hh @@ -84,8 +84,8 @@ void reload_file_buffer(Buffer& buffer); void write_to_debug_buffer(StringView str); -String history_as_string(const Vector& history, Quoting quoting); -String undo_group_as_string(const Buffer::UndoGroup& undo_group, Quoting quoting); +Vector history_as_strings(const Vector& history); +Vector undo_group_as_strings(const Buffer::UndoGroup& undo_group); } -- cgit v1.2.3