mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-08 11:03:47 -05:00
Exempt Eterm from t_Co=16
Closes https://github.com/tpope/vim-sensible/issues/101.
This commit is contained in:
@@ -30,7 +30,7 @@ set ttimeoutlen=100
|
||||
set incsearch
|
||||
" Use <C-L> to clear the highlighting of :set hlsearch.
|
||||
if maparg('<C-L>', 'n') ==# ''
|
||||
nnoremap <silent> <C-L> :nohlsearch<CR><C-L>
|
||||
nnoremap <silent> <C-L> :nohlsearch<C-R>has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
|
||||
endif
|
||||
|
||||
set laststatus=2
|
||||
@@ -81,7 +81,7 @@ endif
|
||||
set sessionoptions-=options
|
||||
|
||||
" Allow color schemes to do bright colors without forcing bold.
|
||||
if &t_Co == 8 && $TERM !~# '^linux'
|
||||
if &t_Co == 8 && $TERM !~# '^linux\|^Eterm'
|
||||
set t_Co=16
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user