mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
syntax: Fire a SessionLoadPost event after the view is loaded
This commit is contained in:
parent
3b7f4cf6b0
commit
9feb8f0dcd
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue