From 4e94420705ddd3604908558f451042e905f7585d Mon Sep 17 00:00:00 2001 From: itchyny Date: Sat, 31 May 2014 01:07:36 +0900 Subject: [PATCH] improve solarized colorschemes: use 256 for solarized_termcolor by default (#65) --- autoload/lightline/colorscheme/solarized_dark.vim | 4 ++-- autoload/lightline/colorscheme/solarized_light.vim | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autoload/lightline/colorscheme/solarized_dark.vim b/autoload/lightline/colorscheme/solarized_dark.vim index ef8dcf1..4c39080 100644 --- a/autoload/lightline/colorscheme/solarized_dark.vim +++ b/autoload/lightline/colorscheme/solarized_dark.vim @@ -3,7 +3,7 @@ " Version: 0.0 " Author: itchyny " License: MIT License -" Last Change: 2014/01/02 23:40:14. +" Last Change: 2014/05/31 01:04:15. " ============================================================================= let s:cuicolors = { @@ -28,7 +28,7 @@ let s:cuicolors = { " The following condition only applies for the console and is the same " condition vim-colors-solarized uses to determine which set of colors " to use. -let s:solarized_termcolors = get(g:, 'solarized_termcolors', 16) +let s:solarized_termcolors = get(g:, 'solarized_termcolors', 256) if s:solarized_termcolors != 256 && &t_Co >= 16 let s:cuiindex = 0 elseif s:solarized_termcolors == 256 diff --git a/autoload/lightline/colorscheme/solarized_light.vim b/autoload/lightline/colorscheme/solarized_light.vim index f389fd5..19da1f0 100644 --- a/autoload/lightline/colorscheme/solarized_light.vim +++ b/autoload/lightline/colorscheme/solarized_light.vim @@ -3,7 +3,7 @@ " Version: 0.0 " Author: itchyny " License: MIT License -" Last Change: 2014/01/02 23:41:00. +" Last Change: 2014/05/31 01:04:21. " ============================================================================= let s:cuicolors = { @@ -28,7 +28,7 @@ let s:cuicolors = { " The following condition only applies for the console and is the same " condition vim-colors-solarized uses to determine which set of colors " to use. -let s:solarized_termcolors = get(g:, 'solarized_termcolors', 16) +let s:solarized_termcolors = get(g:, 'solarized_termcolors', 256) if s:solarized_termcolors != 256 && &t_Co >= 16 let s:cuiindex = 0 elseif s:solarized_termcolors == 256