Make :mkview not save options

References https://github.com/tpope/vim-sensible/issues/163#issuecomment
This commit is contained in:
Enno
2019-08-22 20:12:55 -03:00
committed by Tim Pope
parent c176d13789
commit b9febff7aa

View File

@@ -84,6 +84,7 @@ if !empty(&viminfo)
set viminfo^=! set viminfo^=!
endif endif
set sessionoptions-=options set sessionoptions-=options
set viewoptions-=options
" Allow color schemes to do bright colors without forcing bold. " Allow color schemes to do bright colors without forcing bold.
if &t_Co == 8 && $TERM !~# '^linux\|^Eterm' if &t_Co == 8 && $TERM !~# '^linux\|^Eterm'