mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-11 12:33: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)
|
if !empty(&viminfo)
|
||||||
set viminfo^=!
|
set viminfo^=!
|
||||||
endif
|
endif
|
||||||
set sessionoptions-=options
|
if &sessionoptions =~# '\<options\>'
|
||||||
|
set sessionoptions-=options
|
||||||
|
set sessionoptions+=localoptions
|
||||||
|
endif
|
||||||
|
|
||||||
" 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'
|
||||||
|
|||||||
Reference in New Issue
Block a user