mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
folds: Make sure the missing views do not raise exceptions
This commit is contained in:
parent
9feb8f0dcd
commit
74a81250c3
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ augroup taskwiki
|
|||
" Save and load the view to preserve folding, if desired
|
||||
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')." 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