瀏覽代碼

Readd s:lastline

Marco Hinz 12 年之前
父節點
當前提交
80c379980b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      autoload/startify.vim

+ 2 - 0
autoload/startify.vim

@@ -82,6 +82,8 @@ function! startify#insane_in_the_membrane() abort
     call append('$', ['', '   [q]  <quit>'])
   endif
 
+  let s:lastline = line('$')
+
   if exists('g:startify_custom_footer')
     call append('$', g:startify_custom_footer)
   endif