Procházet zdrojové kódy

Fix wrong cursor position in a certain case

Marco Hinz před 12 roky
rodič
revize
48b7307e9e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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, 5)
+  call cursor((s:show_special ? 2 : 0) + s:headoff + 2, 5)
 
   silent! doautocmd <nomodeline> startify User
 endfunction