Narrow scope of lists variable
This commit is contained in:
parent
54483c88e5
commit
87861176ca
|
@ -115,8 +115,8 @@ function! startify#insane_in_the_membrane() abort
|
||||||
|
|
||||||
let b:startify.section_header_lines = []
|
let b:startify.section_header_lines = []
|
||||||
|
|
||||||
let s:lists = s:get_lists()
|
let lists = s:get_lists()
|
||||||
call s:show_lists(s:lists)
|
call s:show_lists(lists)
|
||||||
|
|
||||||
silent $delete _
|
silent $delete _
|
||||||
|
|
||||||
|
@ -132,8 +132,8 @@ function! startify#insane_in_the_membrane() abort
|
||||||
let b:startify.firstline = 2
|
let b:startify.firstline = 2
|
||||||
let b:startify.firstline += len(g:startify_header)
|
let b:startify.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') && has_key(s:lists[0], 'header')
|
if !s:show_special && !exists('l:show_session') && has_key(lists[0], 'header')
|
||||||
let b:startify.firstline += len(s:lists[0].header) + 1
|
let b:startify.firstline += len(lists[0].header) + 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let b:startify.lastline = line('$')
|
let b:startify.lastline = line('$')
|
||||||
|
|
Loading…
Reference in a new issue