Light mode support in shell, now.
This commit is contained in:
@ -2,10 +2,11 @@
|
||||
hi clear normal
|
||||
"set bg&
|
||||
|
||||
set background=light
|
||||
" remove all existing highlighting and set the defaults.
|
||||
hi clear
|
||||
" load the syntax highlighting defaults, if it's enabled.
|
||||
"set background=light
|
||||
" load the syntax highlighting defaults, if it's enabled.
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
@ -7,12 +7,18 @@ syntax on
|
||||
|
||||
"The adam color scheme has both syntax colors and adam colorscheme now.
|
||||
"This fixes the longstanding xterm-256color issues I've had.
|
||||
"let light_mode_env=$CSHENV_LIGHT_MODE
|
||||
colors adam
|
||||
|
||||
let light_mode_env=$CSHENV_LIGHT_MODE
|
||||
if light_mode_env == '1'
|
||||
colors adam-light
|
||||
endif
|
||||
|
||||
|
||||
|
||||
source ~/.vim/vimrc.globalprefs
|
||||
|
||||
|
||||
source ~/.vim/vimrc.defkeymaps
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user