diff --git a/colors/solarized8.vim b/colors/solarized8.vim index 684f668..4630a5b 100644 --- a/colors/solarized8.vim +++ b/colors/solarized8.vim @@ -4,9 +4,9 @@ " Maintainer: Lifepillar " Website: https://github.com/lifepillar/vim-solarized8 " License: OSI approved MIT license -" Last Updated: Thu Jun 6 20:45:00 2019 +" Last Updated: Wed Jun 26 19:26:01 2019 -" Generated by Colortemplate v2.0.0b2 +" Generated by Colortemplate v2.0.0b3 hi clear if exists('syntax_on') @@ -18,6 +18,7 @@ let g:colors_name = 'solarized8' let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2 let s:italics = (((&t_ZH != '' && &t_ZH != '') || has('gui_running')) && !has('iOS')) || has('nvim') +let s:t_Co = get(g:, 'solarized_use16', 0) ? 16 : s:t_Co let s:italics = s:italics && get(g:, 'solarized_italics', 1) let s:termtrans = get(g:, 'solarized_termtrans', 0) && !has('gui_running') hi! link Boolean Constant @@ -2240,6 +2241,7 @@ if s:t_Co >= 2 finish endif +" let s:t_Co = get(g:, '@optionprefix_use16', 0) ? 16 : s:t_Co " let s:italics = s:italics && get(g:, '@optionprefix_italics', 1) " let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running') " Boolean -> Constant @@ -2975,7 +2977,7 @@ endif " unlet s:termtrans " Background: any " Variant: 2 -" Color: unused #000000 0 +" Color: unused #000000 0 0 " Normal unused unused " ColorColumn unused unused reverse " Conceal unused unused diff --git a/colors/solarized8_flat.vim b/colors/solarized8_flat.vim index 0afaa34..60280a2 100644 --- a/colors/solarized8_flat.vim +++ b/colors/solarized8_flat.vim @@ -4,9 +4,9 @@ " Maintainer: Lifepillar " Website: https://github.com/lifepillar/vim-solarized8 " License: OSI approved MIT license -" Last Updated: Thu Jun 6 20:45:01 2019 +" Last Updated: Wed Jun 26 19:26:03 2019 -" Generated by Colortemplate v2.0.0b2 +" Generated by Colortemplate v2.0.0b3 hi clear if exists('syntax_on') @@ -18,6 +18,7 @@ let g:colors_name = 'solarized8_flat' let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2 let s:italics = (((&t_ZH != '' && &t_ZH != '') || has('gui_running')) && !has('iOS')) || has('nvim') +let s:t_Co = get(g:, 'solarized_use16', 0) ? 16 : s:t_Co let s:italics = s:italics && get(g:, 'solarized_italics', 1) let s:termtrans = get(g:, 'solarized_termtrans', 0) && !has('gui_running') hi! link Boolean Constant @@ -2132,6 +2133,7 @@ if s:t_Co >= 2 finish endif +" let s:t_Co = get(g:, '@optionprefix_use16', 0) ? 16 : s:t_Co " let s:italics = s:italics && get(g:, '@optionprefix_italics', 1) " let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running') " Boolean -> Constant @@ -2817,7 +2819,7 @@ endif " unlet s:termtrans " Background: any " Variant: 2 -" Color: unused #000000 0 +" Color: unused #000000 0 0 " Normal unused unused " ColorColumn unused unused reverse " Conceal unused unused diff --git a/colors/solarized8_high.vim b/colors/solarized8_high.vim index d7a2ede..4c0b760 100644 --- a/colors/solarized8_high.vim +++ b/colors/solarized8_high.vim @@ -4,9 +4,9 @@ " Maintainer: Lifepillar " Website: https://github.com/lifepillar/vim-solarized8 " License: OSI approved MIT license -" Last Updated: Thu Jun 6 20:45:03 2019 +" Last Updated: Wed Jun 26 19:26:04 2019 -" Generated by Colortemplate v2.0.0b2 +" Generated by Colortemplate v2.0.0b3 hi clear if exists('syntax_on') @@ -18,6 +18,7 @@ let g:colors_name = 'solarized8_high' let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2 let s:italics = (((&t_ZH != '' && &t_ZH != '') || has('gui_running')) && !has('iOS')) || has('nvim') +let s:t_Co = get(g:, 'solarized_use16', 0) ? 16 : s:t_Co let s:italics = s:italics && get(g:, 'solarized_italics', 1) let s:termtrans = get(g:, 'solarized_termtrans', 0) && !has('gui_running') hi! link Boolean Constant @@ -2210,6 +2211,7 @@ if s:t_Co >= 2 finish endif +" let s:t_Co = get(g:, '@optionprefix_use16', 0) ? 16 : s:t_Co " let s:italics = s:italics && get(g:, '@optionprefix_italics', 1) " let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running') " Boolean -> Constant @@ -2933,7 +2935,7 @@ endif " unlet s:termtrans " Background: any " Variant: 2 -" Color: unused #000000 0 +" Color: unused #000000 0 0 " Normal unused unused " ColorColumn unused unused reverse " Conceal unused unused diff --git a/colors/solarized8_low.vim b/colors/solarized8_low.vim index d6ed609..c369625 100644 --- a/colors/solarized8_low.vim +++ b/colors/solarized8_low.vim @@ -4,9 +4,9 @@ " Maintainer: Lifepillar " Website: https://github.com/lifepillar/vim-solarized8 " License: OSI approved MIT license -" Last Updated: Thu Jun 6 20:45:05 2019 +" Last Updated: Wed Jun 26 19:26:06 2019 -" Generated by Colortemplate v2.0.0b2 +" Generated by Colortemplate v2.0.0b3 hi clear if exists('syntax_on') @@ -18,6 +18,7 @@ let g:colors_name = 'solarized8_low' let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2 let s:italics = (((&t_ZH != '' && &t_ZH != '') || has('gui_running')) && !has('iOS')) || has('nvim') +let s:t_Co = get(g:, 'solarized_use16', 0) ? 16 : s:t_Co let s:italics = s:italics && get(g:, 'solarized_italics', 1) let s:termtrans = get(g:, 'solarized_termtrans', 0) && !has('gui_running') hi! link Boolean Constant @@ -2213,6 +2214,7 @@ if s:t_Co >= 2 finish endif +" let s:t_Co = get(g:, '@optionprefix_use16', 0) ? 16 : s:t_Co " let s:italics = s:italics && get(g:, '@optionprefix_italics', 1) " let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running') " Boolean -> Constant @@ -2939,7 +2941,7 @@ endif " unlet s:termtrans " Background: any " Variant: 2 -" Color: unused #000000 0 +" Color: unused #000000 0 0 " Normal unused unused " ColorColumn unused unused reverse " Conceal unused unused diff --git a/doc/solarized8.txt b/doc/solarized8.txt index 3b745ee..abcb3ad 100644 --- a/doc/solarized8.txt +++ b/doc/solarized8.txt @@ -1,4 +1,4 @@ -*solarized8.txt* For Vim version 8.1 Last change: 2019 Jun 06 +*solarized8.txt* For Vim version 8.1 Last change: 2019 Jun 26 Solarized 8 color scheme @@ -22,6 +22,15 @@ Set to 1 to enable filetype-specific syntax highlight group. NOTE: setting this to 1 may leave "a wake of destruction when switching away" (T. Pope), that is, when you switch to a different colorscheme the highlighting may look wrong or disabled. + *g:solarized_italics* +Set to 0 if you do not want to enable italics. Note that the color scheme in +normal circumstances automatically detects whether italics is available. You +should never need to set this option explicitly. You may want to unset it if +you do not want Vim to display italics even when the feature is available +(e.g., in GUI versions of Vim). +> + let g:solarized_italics = 1 +< *g:solarized_old_cursor_style* Set to 1 if you want to use the original Solarized's cursor style. By default, @@ -36,21 +45,17 @@ in the flat variant (of course, `"flat"` does not have any effect in the flat variant). > let g:solarized_statusline = "normal" -< - *g:solarized_italics* -Set to 0 if you do not want to enable italics. Note that the color scheme in -normal circumstances automatically detects whether italics is available. You -should never need to set this option explicitly. You may want to unset it if -you do not want Vim to display italics even when the feature is available -(e.g., in GUI versions of Vim). -> - let g:solarized_italics = 1 < *g:solarized_termtrans* Set to 1 if you want a transparent background. Takes effect only in the terminal. > let g:solarized_termtrans = 0 +< + *g:solarized_use16* +Set to 1 if you want to force using the 16 ANSI terminal colors. +> + let g:solarized_use16 = 0 < *g:solarized_visibility* Tweak the visibility of a few elements. Allowed values are `"normal"`