Session autoload: handle spaces in session path
This commit is contained in:
parent
f41732a392
commit
84a296eb5c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue