syntax: Fire a SessionLoadPost event after the view is loaded

This commit is contained in:
Tomas Babej 2016-05-12 15:56:32 +02:00
parent 3b7f4cf6b0
commit 9feb8f0dcd

View file

@ -34,6 +34,7 @@ augroup taskwiki
if !exists('g:taskwiki_dont_preserve_folds')
execute "autocmd BufWinLeave *.".expand('%:e')." mkview"
execute "autocmd BufWinEnter *.".expand('%:e')." silent loadview"
execute "autocmd BufWinEnter *.".expand('%:e')." doautocmd SessionLoadPost *.".expand('%:e')
endif
augroup END