From 5f0565f8e9c97cf22c15199e6794d31a4f8266ac Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 6 Jan 2013 13:21:07 -0500 Subject: [PATCH] Bump t_Co from 8 to 16 where safe to do so Doing this means color schemes can do bright colors without forcing bold. Do any other terminals not really support at least 16 colors? --- plugin/sensible.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/sensible.vim b/plugin/sensible.vim index 0929d98..1000e32 100644 --- a/plugin/sensible.vim +++ b/plugin/sensible.vim @@ -51,6 +51,10 @@ if exists('+undofile') set undofile endif +if &t_Co == 8 && $TERM !~# '^linux' + set t_Co=16 +endif + if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# '' runtime! macros/matchit.vim endif