Selaa lähdekoodia

Clean up VimEnter autocmd

Marco Hinz 12 vuotta sitten
vanhempi
sitoutus
32c62857c9
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      plugin/startify.vim

+ 1 - 2
plugin/startify.vim

@@ -9,8 +9,7 @@ endif
 let g:loaded_startify = 1
 
 augroup startify
-  autocmd!
-  autocmd startify VimEnter *
+  autocmd VimEnter *
         \ if !argc() && (line2byte('$') == -1) && (v:progname =~? '^[gm]\=vim\%[\.exe]$') |
         \   call startify#insane_in_the_membrane() |
         \ endif |