From a33746005f22b743d2c4a1ec8e2c836405f2436f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 9 May 2020 16:56:09 +1200 Subject: Make copies for map(), filter(), and reverse() I really should have remembered this. Caused broken 'thesaurus' entries, in this case. --- vim/autoload/option.vim | 2 +- vim/autoload/xdg.vim | 2 +- vim/vimrc | 14 +++++++++----- 3 files changed, 11 insertions(+), 7 deletions(-) (limited to 'vim') diff --git a/vim/autoload/option.vim b/vim/autoload/option.vim index c44cf94b..49fbf1a4 100644 --- a/vim/autoload/option.vim +++ b/vim/autoload/option.vim @@ -7,7 +7,7 @@ function! option#Split(expr, ...) abort endif let keepempty = a:0 ? a:1 : 0 let parts = split(a:expr, '\\\@