Pārlūkot izejas kodu

Don't trigger autocmds on :enew

Fixes #257.
Marco Hinz 9 gadi atpakaļ
vecāks
revīzija
72f398ebe2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      plugin/startify.vim

+ 1 - 1
plugin/startify.vim

@@ -58,7 +58,7 @@ command! -nargs=? -bar -complete=customlist,startify#session_list SSave   call s
 command! -nargs=? -bar -complete=customlist,startify#session_list SLoad   call startify#session_load(<f-args>)
 command! -nargs=? -bar -bang -complete=customlist,startify#session_list SDelete call startify#session_delete(<bang>0, <f-args>)
 command! -nargs=0 -bar SClose call startify#session_close()
-command! -nargs=0 -bar Startify enew | call startify#insane_in_the_membrane()
+command! -nargs=0 -bar Startify noautocmd enew | call startify#insane_in_the_membrane()
 command! -nargs=0 -bar StartifyDebug call startify#debug()
 
 nnoremap <silent><plug>(startify-open-buffers) :<c-u>call startify#open_buffers()<cr>