Remove g:startify_session_detection

This was always enabled by default and no one seems to disable it.
This commit is contained in:
Marco Hinz 2014-09-17 17:22:28 +02:00
parent 298b53aeca
commit 5334a7eed5
2 changed files with 1 additions and 10 deletions

View file

@ -68,7 +68,7 @@ function! startify#insane_in_the_membrane(callingbuffer) abort
let cnt = 0
if get(g:, 'startify_session_detection', 1) && filereadable('Session.vim')
if filereadable('Session.vim')
call append('$', [' [0] '. getcwd() . s:sep .'Session.vim', ''])
execute 'nnoremap <buffer> 0 :call startify#session_delete_buffers() <bar> source Session.vim<cr>'
let cnt = 1