mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 15:57:02 +00:00
Se background before hi clear.
See $VIMRUNTIME/colors/README.txt.
This commit is contained in:
@@ -2,13 +2,12 @@
|
||||
" Author: Lifepillar <lifepillar@lifepillar.me>
|
||||
" License: OSI approved MIT license (see end of this file)
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "solarized8_dark"
|
||||
set background=dark
|
||||
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
" Author: Lifepillar <lifepillar@lifepillar.me>
|
||||
" License: OSI approved MIT license (see end of this file)
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "solarized8_dark_flat"
|
||||
set background=dark
|
||||
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
" Author: Lifepillar <lifepillar@lifepillar.me>
|
||||
" License: OSI approved MIT license (see end of this file)
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "solarized8_dark_high"
|
||||
set background=dark
|
||||
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=14 guifg=#93a1a1 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
" Author: Lifepillar <lifepillar@lifepillar.me>
|
||||
" License: OSI approved MIT license (see end of this file)
|
||||
|
||||
set background=dark
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "solarized8_dark_low"
|
||||
set background=dark
|
||||
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
" Author: Lifepillar <lifepillar@lifepillar.me>
|
||||
" License: OSI approved MIT license (see end of this file)
|
||||
|
||||
set background=light
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "solarized8_light"
|
||||
set background=light
|
||||
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
" Author: Lifepillar <lifepillar@lifepillar.me>
|
||||
" License: OSI approved MIT license (see end of this file)
|
||||
|
||||
set background=light
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "solarized8_light_flat"
|
||||
set background=light
|
||||
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
" Author: Lifepillar <lifepillar@lifepillar.me>
|
||||
" License: OSI approved MIT license (see end of this file)
|
||||
|
||||
set background=light
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "solarized8_light_high"
|
||||
set background=light
|
||||
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=10 guifg=#586e75 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
" Author: Lifepillar <lifepillar@lifepillar.me>
|
||||
" License: OSI approved MIT license (see end of this file)
|
||||
|
||||
set background=light
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "solarized8_light_low"
|
||||
set background=light
|
||||
|
||||
if !has('gui_running') && get(g:, 'solarized_termtrans', 0)
|
||||
hi! Normal cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
|
||||
|
||||
@@ -12,13 +12,12 @@ for s:solarized_background in ["dark", "light"]
|
||||
call s:put('" Author: Lifepillar <lifepillar@lifepillar.me>')
|
||||
call s:put('" License: OSI approved MIT license (see end of this file)')
|
||||
call s:put('')
|
||||
call s:put('set background='.s:solarized_background)
|
||||
call s:put('hi clear')
|
||||
call s:put('if exists("syntax_on")')
|
||||
call s:put(' syntax reset')
|
||||
call s:put('endif')
|
||||
call s:put('')
|
||||
call s:put('let colors_name = "' . s:colors_name . '"')
|
||||
call s:put('set background='.s:solarized_background)
|
||||
call s:put('')
|
||||
|
||||
let s:base03 = ["8" , "#002b36"]
|
||||
|
||||
Reference in New Issue
Block a user