People want to bookmark directories, too. And I don't want to test for 2 things (filereadable() || isdirectory()), because people should know what they bookmark anyway. Closes #16.
@@ -84,9 +84,6 @@ function! s:insane_in_the_membrane() abort
if exists('g:startify_bookmarks')
call append('$', '')
for fname in g:startify_bookmarks
- if !filereadable(expand(fname))
- continue
- endif
let cnt += 1
call append('$', ' ['. cnt .']'. repeat(' ', 3 - strlen(string(cnt))) . fname)
execute 'nnoremap <buffer> '. cnt .' :edit '. startify#escape(fname) .' <bar> lcd %:h<cr>'