Use skiplist to filter the current directory
This commit is contained in:
parent
fd0d93476a
commit
2c77ba02a2
2 changed files with 3 additions and 1 deletions
|
@ -204,6 +204,7 @@ function! s:show_dir(cnt) abort
|
|||
endif
|
||||
for fname in split(glob('.\=*'))
|
||||
if isdirectory(fname)
|
||||
\ || (exists('g:startify_skiplist') && s:is_in_skiplist(resolve(fnamemodify(fname, ':p'))))
|
||||
continue
|
||||
endif
|
||||
call add(files, [getftime(fname), fname])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue