mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-11 04:23:47 -05:00
Include local options in sessions
Closes https://github.com/tpope/vim-sensible/issues/153
This commit is contained in:
@@ -78,7 +78,10 @@ endif
|
||||
if !empty(&viminfo)
|
||||
set viminfo^=!
|
||||
endif
|
||||
set sessionoptions-=options
|
||||
if &sessionoptions =~# '\<options\>'
|
||||
set sessionoptions-=options
|
||||
set sessionoptions+=localoptions
|
||||
endif
|
||||
|
||||
" Allow color schemes to do bright colors without forcing bold.
|
||||
if &t_Co == 8 && $TERM !~# '^linux\|^Eterm'
|
||||
|
||||
Reference in New Issue
Block a user