Run :Startify on DirChanged
Otherwise relative entries could become out-of-date. Fixes #305
This commit is contained in:
parent
226cafe0a0
commit
5425dd3e84
|
@ -161,6 +161,10 @@ function! startify#insane_in_the_membrane() abort
|
||||||
silent! file Startify
|
silent! file Startify
|
||||||
set filetype=startify readonly
|
set filetype=startify readonly
|
||||||
|
|
||||||
|
if exists('##DirChanged')
|
||||||
|
autocmd startify DirChanged <buffer> Startify
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('#User#Startified')
|
if exists('#User#Startified')
|
||||||
if v:version > 703 || v:version == 703 && has('patch442')
|
if v:version > 703 || v:version == 703 && has('patch442')
|
||||||
doautocmd <nomodeline> User Startified
|
doautocmd <nomodeline> User Startified
|
||||||
|
|
Loading…
Reference in a new issue