mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 07:46:58 +00:00
Generate documentation only once.
Fixes https://github.com/lifepillar/vim-solarized8/issues/23.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
" Maintainer: Lifepillar <lifepillar@lifepillar.me>
|
||||
" Website: https://github.com/lifepillar/vim-solarized8
|
||||
" License: OSI approved MIT license
|
||||
" Last Updated: Sat Oct 28 22:11:09 2017
|
||||
" Last Updated: Sun Nov 5 11:05:17 2017
|
||||
|
||||
if !(has('termguicolors') && &termguicolors) && !has('gui_running')
|
||||
\ && (!exists('&t_Co') || &t_Co < (get(g:, 'solarized_use16', 0) ? 16 : 256))
|
||||
@@ -41,22 +41,34 @@ let g:colors_name = 'solarized8_dark_high'
|
||||
" base02: GUI=#073642/rgb( 7, 54, 66) Term=236 #303030/rgb( 48, 48, 48) [delta=13.434724]
|
||||
|
||||
if get(g:, 'solarized_use16', 1)
|
||||
if !has('gui_running') && get(g:, 'solarized_transp_bg', 0)
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi Normal ctermfg=14 ctermbg=NONE guifg=#93a1a1 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLineNr ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi CursorLineNr ctermfg=11 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi CursorLineNr ctermfg=14 ctermbg=NONE guifg=#93a1a1 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi FoldColumn ctermfg=fg ctermbg=NONE guifg=fg guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
hi Folded ctermfg=fg ctermbg=NONE guifg=fg guibg=NONE guisp=#002b36 cterm=NONE,bold gui=NONE,bold
|
||||
hi LineNr ctermfg=11 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLineNr ctermbg=NONE guifg=NONE
|
||||
else
|
||||
hi Normal ctermfg=14 ctermbg=8 guifg=#93a1a1 guibg=#002b36 guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLineNr ctermfg=9 ctermbg=0 guifg=#cb4b16 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi CursorLineNr ctermfg=11 ctermbg=0 guifg=#657b83 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi CursorLineNr ctermfg=14 ctermbg=0 guifg=#93a1a1 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi FoldColumn ctermfg=14 ctermbg=0 guifg=#93a1a1 guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||
hi Folded ctermfg=14 ctermbg=0 guifg=#93a1a1 guibg=#073642 guisp=#002b36 cterm=NONE,bold gui=NONE,bold
|
||||
hi LineNr ctermfg=11 ctermbg=0 guifg=#657b83 guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLineNr ctermbg=0 guibg=#073642
|
||||
endif
|
||||
if get(g:, "solarized_visibility", "") == "high"
|
||||
hi CursorLineNr ctermfg=9 guifg=#cb4b16 cterm=bold gui=bold
|
||||
hi NonText ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi Title ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
elseif get(g:, "solarized_visibility", "") == "low"
|
||||
hi CursorLineNr ctermfg=11 guifg=#657b83 cterm=bold gui=bold
|
||||
hi NonText ctermfg=0 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=0 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi Title ctermfg=11 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
else
|
||||
hi CursorLineNr ctermfg=14 guifg=#93a1a1 cterm=bold gui=bold
|
||||
hi NonText ctermfg=12 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi Title ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
endif
|
||||
hi ColorColumn ctermfg=NONE ctermbg=0 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||
hi Conceal ctermfg=4 ctermbg=NONE guifg=#268bd2 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
@@ -67,19 +79,6 @@ hi Cursor ctermfg=15 ctermbg=4 guifg=#fdf6e3 guibg=#268bd2 guisp=NONE cterm=NONE
|
||||
endif
|
||||
hi CursorColumn ctermfg=NONE ctermbg=0 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=0 guifg=NONE guibg=#073642 guisp=#eee8d5 cterm=NONE gui=NONE
|
||||
if get(g:, "solarized_visibility", "") == "high"
|
||||
hi NonText ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=9 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi Title ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
elseif get(g:, "solarized_visibility", "") == "low"
|
||||
hi NonText ctermfg=0 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=0 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi Title ctermfg=11 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
else
|
||||
hi NonText ctermfg=12 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi Title ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
endif
|
||||
if get(g:, "solarized_diffmode", "") == "high"
|
||||
hi DiffAdd ctermfg=2 ctermbg=NONE guifg=#859900 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi DiffChange ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
@@ -384,22 +383,34 @@ let g:terminal_color_2='#859900'
|
||||
endif
|
||||
endif
|
||||
if !get(g:, 'solarized_use16', 1)
|
||||
if !has('gui_running') && get(g:, 'solarized_transp_bg', 0)
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi Normal ctermfg=247 ctermbg=NONE guifg=#93a1a1 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLineNr ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi CursorLineNr ctermfg=243 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi CursorLineNr ctermfg=247 ctermbg=NONE guifg=#93a1a1 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi FoldColumn ctermfg=fg ctermbg=NONE guifg=fg guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
hi Folded ctermfg=fg ctermbg=NONE guifg=fg guibg=NONE guisp=#002b36 cterm=NONE,bold gui=NONE,bold
|
||||
hi LineNr ctermfg=243 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLineNr ctermbg=NONE guifg=NONE
|
||||
else
|
||||
hi Normal ctermfg=247 ctermbg=235 guifg=#93a1a1 guibg=#002b36 guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLineNr ctermfg=166 ctermbg=236 guifg=#cb4b16 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi CursorLineNr ctermfg=243 ctermbg=236 guifg=#657b83 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi CursorLineNr ctermfg=247 ctermbg=236 guifg=#93a1a1 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi FoldColumn ctermfg=247 ctermbg=236 guifg=#93a1a1 guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||
hi Folded ctermfg=247 ctermbg=236 guifg=#93a1a1 guibg=#073642 guisp=#002b36 cterm=NONE,bold gui=NONE,bold
|
||||
hi LineNr ctermfg=243 ctermbg=236 guifg=#657b83 guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLineNr ctermbg=236 guibg=#073642
|
||||
endif
|
||||
if get(g:, "solarized_visibility", "") == "high"
|
||||
hi CursorLineNr ctermfg=166 guifg=#cb4b16 cterm=bold gui=bold
|
||||
hi NonText ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi Title ctermfg=136 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
elseif get(g:, "solarized_visibility", "") == "low"
|
||||
hi CursorLineNr ctermfg=243 guifg=#657b83 cterm=bold gui=bold
|
||||
hi NonText ctermfg=236 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=236 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi Title ctermfg=243 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
else
|
||||
hi CursorLineNr ctermfg=247 guifg=#93a1a1 cterm=bold gui=bold
|
||||
hi NonText ctermfg=246 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=246 ctermbg=236 guifg=#839496 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi Title ctermfg=136 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
endif
|
||||
hi ColorColumn ctermfg=NONE ctermbg=236 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||
hi Conceal ctermfg=32 ctermbg=NONE guifg=#268bd2 guibg=NONE guisp=NONE cterm=NONE gui=NONE
|
||||
@@ -410,19 +421,6 @@ hi Cursor ctermfg=230 ctermbg=32 guifg=#fdf6e3 guibg=#268bd2 guisp=NONE cterm=NO
|
||||
endif
|
||||
hi CursorColumn ctermfg=NONE ctermbg=236 guifg=NONE guibg=#073642 guisp=NONE cterm=NONE gui=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=236 guifg=NONE guibg=#073642 guisp=#eee8d5 cterm=NONE gui=NONE
|
||||
if get(g:, "solarized_visibility", "") == "high"
|
||||
hi NonText ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=166 ctermbg=NONE guifg=#cb4b16 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi Title ctermfg=136 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
elseif get(g:, "solarized_visibility", "") == "low"
|
||||
hi NonText ctermfg=236 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=236 ctermbg=NONE guifg=#073642 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi Title ctermfg=243 ctermbg=NONE guifg=#657b83 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
else
|
||||
hi NonText ctermfg=246 ctermbg=NONE guifg=#839496 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi SpecialKey ctermfg=246 ctermbg=236 guifg=#839496 guibg=#073642 guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
hi Title ctermfg=136 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold
|
||||
endif
|
||||
if get(g:, "solarized_diffmode", "") == "high"
|
||||
hi DiffAdd ctermfg=106 ctermbg=NONE guifg=#859900 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
hi DiffChange ctermfg=136 ctermbg=NONE guifg=#b58900 guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse
|
||||
@@ -745,7 +743,46 @@ endif
|
||||
" Color: green #859900 ~ 2
|
||||
" Color: back #002b36 ~ 8
|
||||
" Background: dark
|
||||
" Normal base0 back
|
||||
" verbatim
|
||||
" endverbatim
|
||||
" Normal base0 none
|
||||
" FoldColumn fg none
|
||||
" Folded fg none bold s=base03
|
||||
" LineNr base01 none
|
||||
" verbatim
|
||||
" hi CursorLineNr ctermbg=NONE guifg=NONE
|
||||
" else
|
||||
" endverbatim
|
||||
" Normal base0 back
|
||||
" FoldColumn base0 base02
|
||||
" Folded base0 base02 bold s=base03
|
||||
" LineNr base01 base02
|
||||
" verbatim
|
||||
" hi CursorLineNr ctermbg=@base02 guibg=@base02
|
||||
" endif
|
||||
" endverbatim
|
||||
" verbatim
|
||||
" hi CursorLineNr ctermfg=@orange guifg=@orange cterm=bold gui=bold
|
||||
" endverbatim
|
||||
" NonText orange none bold
|
||||
" SpecialKey orange none reverse
|
||||
" Title yellow none bold
|
||||
" verbatim
|
||||
" hi CursorLineNr ctermfg=@base01 guifg=@base01 cterm=bold gui=bold
|
||||
" endverbatim
|
||||
" NonText base02 none bold
|
||||
" SpecialKey base02 none reverse
|
||||
" Title base01 none bold
|
||||
" verbatim
|
||||
" else
|
||||
" hi CursorLineNr ctermfg=@base0 guifg=@base0 cterm=bold gui=bold
|
||||
" endverbatim
|
||||
" NonText base00 none bold
|
||||
" SpecialKey base00 base02 bold
|
||||
" Title yellow none bold
|
||||
" verbatim
|
||||
" endif
|
||||
" endverbatim
|
||||
" ColorColumn none base02
|
||||
" Conceal blue none
|
||||
" verbatim
|
||||
@@ -762,28 +799,6 @@ endif
|
||||
" CursorLine none base02 s=base1
|
||||
" verbatim
|
||||
" endverbatim
|
||||
" CursorLineNr orange base02/none bold
|
||||
" NonText orange none bold
|
||||
" SpecialKey orange none reverse
|
||||
" Title yellow none bold
|
||||
" verbatim
|
||||
" endverbatim
|
||||
" CursorLineNr base01 base02/none bold
|
||||
" NonText base02 none bold
|
||||
" SpecialKey base02 none reverse
|
||||
" Title base01 none bold
|
||||
" verbatim
|
||||
" else
|
||||
" endverbatim
|
||||
" CursorLineNr base0 base02/none bold
|
||||
" NonText base00 none bold
|
||||
" SpecialKey base00 base02 bold
|
||||
" Title yellow none bold
|
||||
" verbatim
|
||||
" endif
|
||||
" endverbatim
|
||||
" verbatim
|
||||
" endverbatim
|
||||
" DiffAdd green none reverse
|
||||
" DiffChange yellow none reverse
|
||||
" DiffDelete red none reverse
|
||||
@@ -807,10 +822,7 @@ endif
|
||||
" Directory blue none
|
||||
" EndOfBuffer none none
|
||||
" ErrorMsg red base3 reverse
|
||||
" FoldColumn base0/fg base02/none
|
||||
" Folded base0/fg base02/none bold s=base03
|
||||
" IncSearch orange none standout
|
||||
" LineNr base01/base01 base02/none
|
||||
" MatchParen base3 base02 bold
|
||||
" ModeMsg blue none
|
||||
" MoreMsg blue none
|
||||
|
||||
Reference in New Issue
Block a user