Browse Source

Session autoload: handle spaces in session path

Marco Hinz 9 years ago
parent
commit
84a296eb5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      autoload/startify.vim

+ 1 - 1
autoload/startify.vim

@@ -775,7 +775,7 @@ endfunction
 function! s:check_user_options(path) abort
   let session = a:path . s:sep .'Session.vim'
 
-  if get(g:, 'startify_session_autoload') && filereadable(session)
+  if get(g:, 'startify_session_autoload') && filereadable(glob(session))
     execute 'silent bwipeout' a:path
     call startify#session_delete_buffers()
     execute 'source' session