fix: AutoSaveFolds autocommand corrupting views under certain conditions

This commit is contained in:
ManjaroOne666 2018-10-17 12:25:54 +01:00
parent 5f735ce091
commit 9abc94cb65
1 changed files with 2 additions and 1 deletions

3
vimrc
View File

@ -1082,7 +1082,8 @@ augroup AutoSaveFolds
autocmd! autocmd!
" autocmd BufWinLeave ?* mkview " autocmd BufWinLeave ?* mkview
autocmd BufWrite ?* mkview autocmd BufWrite ?* mkview
autocmd BufWinEnter ?* silent loadview " autocmd BufWinEnter ?* silent loadview
autocmd BufRead ?* silent loadview
augroup END augroup END
"}}} "}}}