diff options
author | Ethan Schoonover <es@ethanschoonover.com> | 2011-05-03 00:11:07 -0700 |
---|---|---|
committer | Ethan Schoonover <es@ethanschoonover.com> | 2011-05-03 00:11:07 -0700 |
commit | 15059af5216fa67b92f3fdd5a4e2dadd996a211e (patch) | |
tree | eac02f4e528462ff1a5004f8f3471fdc648e5be3 /colors | |
parent | 2b30f611f1caf299f7f1637abe7d7b8eec058a09 (diff) | |
download | vim-colors-solarized-15059af5216fa67b92f3fdd5a4e2dadd996a211e.tar.gz |
[vim] solarized.vim fix for bold colorshift in low color terminals
Turn off bold, regardless of user setting in g:solarized_bold, if
the terminal emulator reports t_Co < 16, otherwise color is distorted.
Diffstat (limited to 'colors')
-rw-r--r-- | colors/solarized.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/colors/solarized.vim b/colors/solarized.vim index eb18ef7..861ecea 100644 --- a/colors/solarized.vim +++ b/colors/solarized.vim @@ -4,7 +4,7 @@ " (see this url for latest release & screenshots) " License: OSI approved MIT license (see end of this file) " Created: In the middle of the night -" Modified: 2011 May 02 +" Modified: 2011 May 03 " " Usage "{{{ " @@ -409,7 +409,7 @@ endif "}}} " Overrides dependent on user specified values and environment "{{{ " --------------------------------------------------------------------- -if g:solarized_bold == 0 +if (g:solarized_bold == 0 || &t_Co < 16) let s:b = "" else let s:b = ",bold" |