From 5425dd3e840217d4ba2d764c3e6fbe5da8cbf833 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 16 Mar 2018 01:06:40 +0100 Subject: [PATCH] Run :Startify on DirChanged Otherwise relative entries could become out-of-date. Fixes #305 --- autoload/startify.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/startify.vim b/autoload/startify.vim index 54febfc..b180e41 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -161,6 +161,10 @@ function! startify#insane_in_the_membrane() abort silent! file Startify set filetype=startify readonly + if exists('##DirChanged') + autocmd startify DirChanged Startify + endif + if exists('#User#Startified') if v:version > 703 || v:version == 703 && has('patch442') doautocmd User Startified