Sfoglia il codice sorgente

Reset list of section lines properly

Marco Hinz 11 anni fa
parent
commit
67e9147b51
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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)