Explorar o código

Reset list of section lines properly

Marco Hinz %!s(int64=11) %!d(string=hai) anos
pai
achega
67e9147b51
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      autoload/startify.vim

+ 2 - 2
autoload/startify.vim

@@ -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)