Reset list of section lines properly
This commit is contained in:
parent
d4eb81e5f2
commit
67e9147b51
|
@ -34,8 +34,6 @@ else
|
|||
\ ]
|
||||
endif
|
||||
|
||||
let s:section_header_lines = []
|
||||
|
||||
" Function: #get_separator {{{1
|
||||
function! startify#get_separator() abort
|
||||
return !exists('+shellslash') || &shellslash ? '/' : '\'
|
||||
|
@ -89,6 +87,8 @@ function! startify#insane_in_the_membrane() abort
|
|||
echohl None
|
||||
endif
|
||||
|
||||
let s:section_header_lines = []
|
||||
|
||||
for item in s:lists
|
||||
if type(item) == 1
|
||||
let cnt = s:show_{item}(cnt)
|
||||
|
|
Loading…
Reference in a new issue