parent
5a45174657
commit
8512fa3b1c
|
@ -138,7 +138,7 @@ function! startify#insane_in_the_membrane() abort
|
||||||
let s:firstline = 2
|
let s:firstline = 2
|
||||||
let s:firstline += len(g:startify_header)
|
let s:firstline += len(g:startify_header)
|
||||||
" no special, no local Session.vim, but a section header
|
" no special, no local Session.vim, but a section header
|
||||||
if !s:show_special && !exists('l:show_session') && type(s:lists[0]) == 3
|
if !s:show_special && !exists('l:show_session') && type(s:lists[0]) == type([])
|
||||||
let s:firstline += len(s:lists[0]) + 1
|
let s:firstline += len(s:lists[0]) + 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ function! startify#insane_in_the_membrane() abort
|
||||||
setlocal nomodifiable nomodified
|
setlocal nomodifiable nomodified
|
||||||
|
|
||||||
call s:set_mappings()
|
call s:set_mappings()
|
||||||
call cursor(s:firstline + (s:show_special ? 2 : 0), 5)
|
call cursor(s:firstline, 5)
|
||||||
autocmd startify CursorMoved <buffer> call s:set_cursor()
|
autocmd startify CursorMoved <buffer> call s:set_cursor()
|
||||||
|
|
||||||
set filetype=startify
|
set filetype=startify
|
||||||
|
|
Loading…
Reference in a new issue