mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 07:46:58 +00:00
Fix regressions in solarized8_light.
This commit is contained in:
@@ -36,35 +36,40 @@ documentation
|
||||
==============================================================================
|
||||
@fullname colorscheme *@shortname*
|
||||
|
||||
*g:@optionprefix_diffmode*
|
||||
*g:@optionprefix_diffmode*
|
||||
Tweak the way diffs are displayed. Allowed values are `"normal"` (default),
|
||||
`"high"`, and `"low"`.
|
||||
>
|
||||
let g:@optionprefix_diffmode = "normal"
|
||||
<
|
||||
*g:@optionprefix_old_cursor_style*
|
||||
*g:@optionprefix_old_cursor_style*
|
||||
Set to 1 if you want to use the original Solarized's cursor style. By default,
|
||||
the cursor is blue. NOTE: your terminal may override the cursor's color.
|
||||
>
|
||||
let g:@optionprefix_old_cursor_style = 0
|
||||
<
|
||||
*g:@optionprefix_statusline*
|
||||
*g:@optionprefix_statusline*
|
||||
Set to `"low"` to reduce the contrast in the status line.
|
||||
>
|
||||
let g:@optionprefix_statusline = "normal"
|
||||
<
|
||||
*g:@optionprefix_term_italics*
|
||||
*g:@optionprefix_term_italics*
|
||||
Set to 0 if you want to disable italics in the terminal.
|
||||
>
|
||||
let g:@optionprefix_term_italics = 1
|
||||
<
|
||||
*g:@optionprefix_visibility*
|
||||
*g:@optionprefix_termtrans*
|
||||
Set to 1 if you want a transparent background. Takes effect only in the
|
||||
terminal.
|
||||
>
|
||||
let g:@optionprefix_termtrans = 0
|
||||
<
|
||||
*g:@optionprefix_visibility*
|
||||
Tweak the visibility of a few elements. Allowed values are `"normal"`
|
||||
(default), `"high"`, and `"low"`.
|
||||
>
|
||||
let g:@optionprefix_visibility = "normal"
|
||||
<
|
||||
|
||||
enddocumentation
|
||||
# }}}
|
||||
|
||||
@@ -93,18 +98,37 @@ Color: back #fdf6e3 ~ 15
|
||||
Background: light
|
||||
|
||||
# Default highlight groups {{{
|
||||
# Comment out (do not delete) the definitions that you want to keep at their default.
|
||||
# Group Foreground Background Attributes
|
||||
Normal base0 back
|
||||
ColorColumn none base02
|
||||
Conceal blue none
|
||||
CursorColumn none base02
|
||||
CursorLine none base02 s=base1
|
||||
verbatim
|
||||
if !has('gui_running') && get(g:, '@optionprefix_termtrans', 0)
|
||||
endverbatim
|
||||
|
||||
# Transparent background
|
||||
Normal base0 none
|
||||
FoldColumn base0 none
|
||||
Folded base0 none bold s=base03
|
||||
LineNr base01 none
|
||||
|
||||
verbatim
|
||||
hi CursorLineNr ctermbg=NONE guifg=NONE
|
||||
else
|
||||
endverbatim
|
||||
|
||||
# Opaque background
|
||||
Normal base0 back
|
||||
FoldColumn base0 base02
|
||||
Folded base0 base02 bold s=base03
|
||||
LineNr base01 base02
|
||||
|
||||
verbatim
|
||||
hi CursorLineNr ctermbg=@base02 guibg=@base02
|
||||
endif
|
||||
endverbatim
|
||||
|
||||
# Visibility and cursor style ===============================================
|
||||
# High visibiity
|
||||
verbatim
|
||||
if get(g:, "@optionprefix_visibility", "") == "high"
|
||||
hi CursorLineNr ctermfg=@red guifg=@red cterm=bold gui=bold
|
||||
if get(g:, '@optionprefix_old_cursor_style', 0)
|
||||
endverbatim
|
||||
Cursor base03 base0
|
||||
@@ -115,7 +139,6 @@ Cursor base03 red
|
||||
verbatim
|
||||
endif
|
||||
endverbatim
|
||||
CursorLineNr red base02/none bold
|
||||
MatchParen base03 base00 bold
|
||||
NonText red none bold
|
||||
SpecialKey red none reverse
|
||||
@@ -123,6 +146,7 @@ Title orange none bold
|
||||
# Low visibility
|
||||
verbatim
|
||||
elseif get(g:, "@optionprefix_visibility", "") == "low"
|
||||
hi CursorLineNr ctermfg=@base01 guifg=@base01 cterm=bold gui=bold
|
||||
if get(g:, '@optionprefix_old_cursor_style', 0)
|
||||
endverbatim
|
||||
Cursor base03 base0
|
||||
@@ -133,7 +157,6 @@ Cursor base03 orange
|
||||
verbatim
|
||||
endif
|
||||
endverbatim
|
||||
CursorLineNr base01 base02/none bold
|
||||
MatchParen red base02 bold,underline
|
||||
NonText base02 none bold
|
||||
SpecialKey base02 none bold
|
||||
@@ -141,6 +164,7 @@ Title base01 none bold
|
||||
# Normal visibility
|
||||
verbatim
|
||||
else
|
||||
hi CursorLineNr ctermfg=@base0 guifg=@base0 cterm=bold gui=bold
|
||||
if get(g:, 'solarized_old_cursor_style', 0)
|
||||
endverbatim
|
||||
Cursor base03 base0
|
||||
@@ -151,7 +175,6 @@ Cursor base03 orange
|
||||
verbatim
|
||||
endif
|
||||
endverbatim
|
||||
CursorLineNr base0 base02/none bold
|
||||
MatchParen red base02 bold,underline
|
||||
NonText base00 none bold
|
||||
SpecialKey base00 base02 bold
|
||||
@@ -161,6 +184,11 @@ endif
|
||||
endverbatim
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
ColorColumn none base02
|
||||
Conceal blue none
|
||||
CursorColumn none base02
|
||||
CursorLine none base02 s=base1
|
||||
|
||||
# Diff mode =================================================================
|
||||
verbatim
|
||||
if get(g:, "@optionprefix_diffmode", "") == "high"
|
||||
@@ -189,10 +217,7 @@ endverbatim
|
||||
Directory blue none
|
||||
EndOfBuffer none none
|
||||
ErrorMsg red base03 reverse
|
||||
FoldColumn base0 base02/none
|
||||
Folded base0 base02/none bold s=base03
|
||||
IncSearch orange none standout
|
||||
LineNr base01 base02/none
|
||||
ModeMsg blue none
|
||||
MoreMsg blue none
|
||||
Pmenu base0 base02 reverse
|
||||
|
||||
Reference in New Issue
Block a user