Set foreground colors for badly spelled word.

Do not rely on a Vim implementation to provide underline/undercurl
(e.g., iVim on iOS). Highlight bad spelling with a different foreground
color.
This commit is contained in:
Lifepillar
2017-09-01 22:58:21 +02:00
parent 5a8d54cd27
commit 1e0edf58ae
9 changed files with 45 additions and 37 deletions

View File

@@ -112,10 +112,10 @@ else
endif endif
hi! SignColumn cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE hi! SignColumn cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#d33682 hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=13 guifg=#6c71c4 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#6c71c4 hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=13 guifg=#6c71c4 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#2aa198 hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE guisp=#2aa198
hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#b58900 hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=3 guifg=#b58900 ctermbg=NONE guibg=NONE guisp=#b58900
hi! Pmenu ctermfg=12 guifg=#839496 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse hi! Pmenu ctermfg=12 guifg=#839496 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSel ctermfg=10 guifg=#586e75 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSel ctermfg=10 guifg=#586e75 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSbar ctermfg=7 guifg=#eee8d5 ctermbg=12 guibg=#839496 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSbar ctermfg=7 guifg=#eee8d5 ctermbg=12 guibg=#839496 cterm=NONE,reverse gui=NONE,reverse

View File

@@ -110,10 +110,10 @@ else
endif endif
hi! SignColumn cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE hi! SignColumn cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#d33682 hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=13 guifg=#6c71c4 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#6c71c4 hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=13 guifg=#6c71c4 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#2aa198 hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE guisp=#2aa198
hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#b58900 hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=3 guifg=#b58900 ctermbg=NONE guibg=NONE guisp=#b58900
hi! Pmenu ctermfg=0 guifg=#073642 ctermbg=12 guibg=#839496 cterm=NONE,reverse gui=NONE,reverse hi! Pmenu ctermfg=0 guifg=#073642 ctermbg=12 guibg=#839496 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSel ctermfg=11 guifg=#657b83 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSel ctermfg=11 guifg=#657b83 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSbar ctermfg=0 guifg=#073642 ctermbg=10 guibg=#586e75 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSbar ctermfg=0 guifg=#073642 ctermbg=10 guibg=#586e75 cterm=NONE,reverse gui=NONE,reverse

View File

@@ -112,10 +112,10 @@ else
endif endif
hi! SignColumn cterm=NONE gui=NONE ctermfg=14 guifg=#93a1a1 ctermbg=NONE guibg=NONE hi! SignColumn cterm=NONE gui=NONE ctermfg=14 guifg=#93a1a1 ctermbg=NONE guibg=NONE
hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#d33682 hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=13 guifg=#6c71c4 ctermbg=NONE guibg=NONE guisp=#cb4b16
hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#6c71c4 hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=13 guifg=#6c71c4 ctermbg=NONE guibg=NONE guisp=#cb4b16
hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#2aa198 hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE guisp=#2aa198
hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#b58900 hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=3 guifg=#b58900 ctermbg=NONE guibg=NONE guisp=#b58900
hi! Pmenu ctermfg=14 guifg=#93a1a1 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse hi! Pmenu ctermfg=14 guifg=#93a1a1 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSel ctermfg=11 guifg=#657b83 ctermbg=15 guibg=#fdf6e3 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSel ctermfg=11 guifg=#657b83 ctermbg=15 guibg=#fdf6e3 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSbar ctermfg=15 guifg=#fdf6e3 ctermbg=14 guibg=#93a1a1 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSbar ctermfg=15 guifg=#fdf6e3 ctermbg=14 guibg=#93a1a1 cterm=NONE,reverse gui=NONE,reverse

View File

@@ -112,10 +112,10 @@ else
endif endif
hi! SignColumn cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE hi! SignColumn cterm=NONE gui=NONE ctermfg=12 guifg=#839496 ctermbg=NONE guibg=NONE
hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#d33682 hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=13 guifg=#6c71c4 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#6c71c4 hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=13 guifg=#6c71c4 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#2aa198 hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE guisp=#2aa198
hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#b58900 hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=3 guifg=#b58900 ctermbg=NONE guibg=NONE guisp=#b58900
hi! Pmenu ctermfg=12 guifg=#839496 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse hi! Pmenu ctermfg=12 guifg=#839496 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSel ctermfg=10 guifg=#586e75 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSel ctermfg=10 guifg=#586e75 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSbar ctermfg=7 guifg=#eee8d5 ctermbg=12 guibg=#839496 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSbar ctermfg=7 guifg=#eee8d5 ctermbg=12 guibg=#839496 cterm=NONE,reverse gui=NONE,reverse

View File

@@ -124,10 +124,10 @@ else
endif endif
hi! SignColumn cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE hi! SignColumn cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#dc322f hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=5 guifg=#d33682 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#6c71c4 hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=5 guifg=#d33682 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#2aa198 hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE guisp=#2aa198
hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#b58900 hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=3 guifg=#b58900 ctermbg=NONE guibg=NONE guisp=#b58900
hi! Pmenu ctermfg=11 guifg=#657b83 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse hi! Pmenu ctermfg=11 guifg=#657b83 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSel ctermfg=14 guifg=#93a1a1 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSel ctermfg=14 guifg=#93a1a1 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSbar ctermfg=0 guifg=#073642 ctermbg=11 guibg=#657b83 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSbar ctermfg=0 guifg=#073642 ctermbg=11 guibg=#657b83 cterm=NONE,reverse gui=NONE,reverse

View File

@@ -122,10 +122,10 @@ else
endif endif
hi! SignColumn cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE hi! SignColumn cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#dc322f hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=5 guifg=#d33682 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#6c71c4 hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=5 guifg=#d33682 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#2aa198 hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE guisp=#2aa198
hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#b58900 hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=3 guifg=#b58900 ctermbg=NONE guibg=NONE guisp=#b58900
hi! Pmenu ctermfg=7 guifg=#eee8d5 ctermbg=11 guibg=#657b83 cterm=NONE,reverse gui=NONE,reverse hi! Pmenu ctermfg=7 guifg=#eee8d5 ctermbg=11 guibg=#657b83 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSel ctermfg=14 guifg=#93a1a1 ctermbg=15 guibg=#fdf6e3 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSel ctermfg=14 guifg=#93a1a1 ctermbg=15 guibg=#fdf6e3 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSbar ctermfg=7 guifg=#eee8d5 ctermbg=14 guibg=#93a1a1 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSbar ctermfg=7 guifg=#eee8d5 ctermbg=14 guibg=#93a1a1 cterm=NONE,reverse gui=NONE,reverse

View File

@@ -124,10 +124,10 @@ else
endif endif
hi! SignColumn cterm=NONE gui=NONE ctermfg=10 guifg=#586e75 ctermbg=NONE guibg=NONE hi! SignColumn cterm=NONE gui=NONE ctermfg=10 guifg=#586e75 ctermbg=NONE guibg=NONE
hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#dc322f hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=5 guifg=#d33682 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#6c71c4 hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=5 guifg=#d33682 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#2aa198 hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE guisp=#2aa198
hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#b58900 hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=3 guifg=#b58900 ctermbg=NONE guibg=NONE guisp=#b58900
hi! Pmenu ctermfg=10 guifg=#586e75 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse hi! Pmenu ctermfg=10 guifg=#586e75 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSel ctermfg=12 guifg=#839496 ctermbg=8 guibg=#002b36 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSel ctermfg=12 guifg=#839496 ctermbg=8 guibg=#002b36 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSbar ctermfg=8 guifg=#002b36 ctermbg=10 guibg=#586e75 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSbar ctermfg=8 guifg=#002b36 ctermbg=10 guibg=#586e75 cterm=NONE,reverse gui=NONE,reverse

View File

@@ -124,10 +124,10 @@ else
endif endif
hi! SignColumn cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE hi! SignColumn cterm=NONE gui=NONE ctermfg=11 guifg=#657b83 ctermbg=NONE guibg=NONE
hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE hi! Conceal cterm=NONE gui=NONE ctermfg=4 guifg=#268bd2 ctermbg=NONE guibg=NONE
hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#dc322f hi! SpellBad cterm=NONE,undercurl gui=NONE,undercurl ctermfg=5 guifg=#d33682 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#6c71c4 hi! SpellCap cterm=NONE,undercurl gui=NONE,undercurl ctermfg=5 guifg=#d33682 ctermbg=NONE guibg=NONE guisp=#6c71c4
hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#2aa198 hi! SpellRare cterm=NONE,undercurl gui=NONE,undercurl ctermfg=6 guifg=#2aa198 ctermbg=NONE guibg=NONE guisp=#2aa198
hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=NONE guifg=NONE ctermbg=NONE guibg=NONE guisp=#b58900 hi! SpellLocal cterm=NONE,undercurl gui=NONE,undercurl ctermfg=3 guifg=#b58900 ctermbg=NONE guibg=NONE guisp=#b58900
hi! Pmenu ctermfg=11 guifg=#657b83 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse hi! Pmenu ctermfg=11 guifg=#657b83 ctermbg=7 guibg=#eee8d5 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSel ctermfg=14 guifg=#93a1a1 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSel ctermfg=14 guifg=#93a1a1 ctermbg=0 guibg=#073642 cterm=NONE,reverse gui=NONE,reverse
hi! PmenuSbar ctermfg=0 guifg=#073642 ctermbg=11 guibg=#657b83 cterm=NONE,reverse gui=NONE,reverse hi! PmenuSbar ctermfg=0 guifg=#073642 ctermbg=11 guibg=#657b83 cterm=NONE,reverse gui=NONE,reverse

View File

@@ -510,13 +510,21 @@ for s:solarized_background in ["dark", "light"]
call s:put("hi! SignColumn" .s:fmt_none .s:fg_base0 .s:bg_none) call s:put("hi! SignColumn" .s:fmt_none .s:fg_base0 .s:bg_none)
call s:put("hi! Conceal" .s:fmt_none .s:fg_blue .s:bg_none) call s:put("hi! Conceal" .s:fmt_none .s:fg_blue .s:bg_none)
if s:solarized_background == "dark" if s:solarized_background == "dark"
call s:put("hi! SpellBad" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_magenta) if s:solarized_contrast == "high"
call s:put("hi! SpellBad" .s:fmt_curl .s:fg_violet .s:bg_none .s:sp_orange)
call s:put("hi! SpellCap" .s:fmt_curl .s:fg_violet .s:bg_none .s:sp_orange)
else
call s:put("hi! SpellBad" .s:fmt_curl .s:fg_violet .s:bg_none .s:sp_violet)
call s:put("hi! SpellCap" .s:fmt_curl .s:fg_violet .s:bg_none .s:sp_violet)
endif
call s:put("hi! SpellRare" .s:fmt_curl .s:fg_cyan .s:bg_none .s:sp_cyan)
call s:put("hi! SpellLocal" .s:fmt_curl .s:fg_yellow .s:bg_none .s:sp_yellow)
else else
call s:put("hi! SpellBad" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_red) call s:put("hi! SpellBad" .s:fmt_curl .s:fg_magenta .s:bg_none .s:sp_violet)
call s:put("hi! SpellCap" .s:fmt_curl .s:fg_magenta .s:bg_none .s:sp_violet)
call s:put("hi! SpellRare" .s:fmt_curl .s:fg_cyan .s:bg_none .s:sp_cyan)
call s:put("hi! SpellLocal" .s:fmt_curl .s:fg_yellow .s:bg_none .s:sp_yellow)
endif endif
call s:put("hi! SpellCap" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_violet)
call s:put("hi! SpellRare" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_cyan)
call s:put("hi! SpellLocal" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_yellow)
if s:solarized_contrast == "flat" if s:solarized_contrast == "flat"
if s:solarized_background == "dark" if s:solarized_background == "dark"
call s:put("hi! Pmenu" .s:fg_base02 .s:bg_base0 .s:fmt_revbb) call s:put("hi! Pmenu" .s:fg_base02 .s:bg_base0 .s:fmt_revbb)