parent
832c0a65b1
commit
aea086205c
3 changed files with 10 additions and 9 deletions
|
@ -569,11 +569,8 @@ function! s:check_user_options() abort
|
|||
let path = expand('%')
|
||||
let session = path . s:sep .'Session.vim'
|
||||
|
||||
" autoload session
|
||||
if get(g:, 'startify_session_autoload') && filereadable(session)
|
||||
execute 'source' session
|
||||
" change to VCS root directory
|
||||
elseif get(g:, 'startify_change_to_vcs_root')
|
||||
if get(g:, 'startify_change_to_vcs_root')
|
||||
call s:cd_to_vcs_root(path)
|
||||
" change directory
|
||||
elseif get(g:, 'startify_change_to_dir', 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue