diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-09 16:56:53 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-09 16:56:53 +1200 |
commit | df76b01c6151be8a56181d9c1a8463094205e1c1 (patch) | |
tree | b8b0f42940c7f8288e8bd2d6e7e973320598efca /vim/autoload/xdg.vim | |
parent | Merge branch 'hotfix/v8.31.1' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-8.31.2.tar.gz (sig) dotfiles-8.31.2.zip |
Merge branch 'hotfix/v8.31.2'v8.31.2
* hotfix/v8.31.2:
Make copies for map(), filter(), and reverse()
Diffstat (limited to 'vim/autoload/xdg.vim')
-rw-r--r-- | vim/autoload/xdg.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/autoload/xdg.vim b/vim/autoload/xdg.vim index dd9a129b..5cef0f98 100644 --- a/vim/autoload/xdg.vim +++ b/vim/autoload/xdg.vim @@ -37,7 +37,7 @@ endfunction function! s:Dirs(name) abort let dirs = split(s:Get(a:name), ':') return map( - \ filter(dirs, 's:Absolute(v:val)') + \ filter(copy(dirs), 's:Absolute(v:val)') \,'join([v:val, s:subdir], "/")' \) endfunction |