Quellcode durchsuchen

Fix wrong cursor position in a certain case pt2

Marco Hinz vor 12 Jahren
Ursprung
Commit
6121a5ebaa
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      autoload/startify.vim

+ 1 - 1
autoload/startify.vim

@@ -139,7 +139,7 @@ function! startify#insane_in_the_membrane() abort
     autocmd startify BufReadPost * call s:restore_position()
   endif
 
-  call cursor((s:show_special ? 2 : 0) + s:headoff + 2, 5)
+  call cursor((s:show_special ? 2 : 0) + s:headoff + s:secoff, 5)
 
   silent! doautocmd <nomodeline> startify User
 endfunction