From 79fc09f6d73cd9301028684c94d2fe173495432a Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 5 Nov 2018 21:05:17 +0100 Subject: [PATCH] Rename user event Startified to StartifyReady For backward compatability "Startified" still works as well. --- autoload/startify.vim | 4 +++- doc/startify.txt | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 61bf797..801e5d6 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -155,10 +155,12 @@ function! startify#insane_in_the_membrane() abort if exists('##DirChanged') autocmd startify DirChanged Startify endif - if exists('#User#Startified') doautocmd User Startified endif + if exists('#User#StartifyReady') + doautocmd User StartifyReady + endif endfunction " Function: #session_load {{{1 diff --git a/doc/startify.txt b/doc/startify.txt index 3d96380..670f8ed 100644 --- a/doc/startify.txt +++ b/doc/startify.txt @@ -695,10 +695,10 @@ $PWD and $OLDPWD are ignored. ============================================================================== AUTOCMD *startify-autocmd* -When the Startify buffer is fully set up, it emits an User event. You can hook -into that to customize Startify even further: +When the Startify buffer is ready, it emits an User event. You can hook into +that to customize Startify even further: > - autocmd User Startified let &l:stl = ' This statusline rocks!' + autocmd User StartifyReady let &l:stl = ' This statusline rocks!' < Or use it to disable single mappings: |startify-faq-16|.