summaryrefslogtreecommitdiff
path: root/src/buffer_utils.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-03-01 13:28:06 +1100
committerMaxime Coste <mawww@kakoune.org>2020-03-02 20:53:28 +1100
commit0a66eb9c47ba9a7d3b90286d66a70b5bd7eee15a (patch)
tree66d125cdf38c006b9acacea73213da8deca13ed2 /src/buffer_utils.hh
parentb8eef27e041ce68fda01f66e3cc902e97b25fbaf (diff)
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.
Diffstat (limited to 'src/buffer_utils.hh')
-rw-r--r--src/buffer_utils.hh4
1 files changed, 2 insertions, 2 deletions
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<Buffer::HistoryNode>& history, Quoting quoting);
-String undo_group_as_string(const Buffer::UndoGroup& undo_group, Quoting quoting);
+Vector<String> history_as_strings(const Vector<Buffer::HistoryNode>& history);
+Vector<String> undo_group_as_strings(const Buffer::UndoGroup& undo_group);
}