Pārlūkot izejas kodu

Fix cursor handling

The cursor wouldn't wrap around to the top entry when you hit 'j' on the
last one.
Marco Hinz 12 gadi atpakaļ
vecāks
revīzija
eb6e522245
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      autoload/startify.vim

+ 1 - 0
autoload/startify.vim

@@ -83,6 +83,7 @@ function! startify#insane_in_the_membrane() abort
   endif
 
   let s:lastline = line('$')
+  call append('$', '')
 
   if exists('g:startify_custom_footer')
     call append('$', g:startify_custom_footer)