diff --git a/autoload/startify.vim b/autoload/startify.vim index 8e039cf..9161aad 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -204,7 +204,7 @@ function! s:show_dir(cnt) abort call append('$', '') endif for fname in split(glob('.\=*')) - if (fname == '.') || (fname == '..') + if isdirectory(fname) continue endif call add(files, [getftime(fname), fname])