Преглед изворни кода

Disable intro to avoid potential flashing

References #229.
Marco Hinz пре 8 година
родитељ
комит
a16e94e687
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      plugin/startify.vim

+ 4 - 0
plugin/startify.vim

@@ -10,6 +10,10 @@ endif
 let g:loaded_startify = 1
 let g:loaded_startify = 1
 let g:startify_locked = 0
 let g:startify_locked = 0
 
 
+if !get(g:, 'startify_disable_at_vimenter')
+  set shortmess+=I
+endif
+
 augroup startify
 augroup startify
   autocmd VimEnter * nested call s:genesis()
   autocmd VimEnter * nested call s:genesis()
   autocmd VimLeave * call s:extinction()
   autocmd VimLeave * call s:extinction()