Explorar el Código

Fix wrong cursor position in a certain case pt2

Marco Hinz hace 12 años
padre
commit
6121a5ebaa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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