diff --git a/autoload/startify.vim b/autoload/startify.vim index 14c2a1a..b031591 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -392,7 +392,7 @@ function! s:filter_oldfiles(path_prefix, path_format) abort let entries = {} let oldfiles = [] - for fname in copy(v:oldfiles) + for fname in v:oldfiles if counter <= 0 break endif