mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 07:46:58 +00:00
Allow the user to choose old style's Cursor highlight group.
Add a new option to choose the original Solarized's cursor style.
So, by default now the cursor is white on blue in dark themes and white
on orange/red (depending on visibility) in light themes no matter which
variant is used.
If you prefer a grey cursor, as in the original Solarized, put this in
your `vimrc`:
let g:solarized_old_cursor_style = 1
This commit is contained in:
@@ -35,7 +35,11 @@ hi! Error cterm=NONE,bold gui=NONE,bold ctermfg=1 guifg=#dc322f ctermbg=NONE gui
|
||||
hi! Todo cterm=NONE,bold gui=NONE,bold ctermfg=5 guifg=#d33682 ctermbg=NONE guibg=NONE
|
||||
hi! link QuickFixLine Search
|
||||
hi! MatchParen cterm=NONE,bold gui=NONE,bold ctermfg=15 guifg=#fdf6e3 ctermbg=0 guibg=#073642
|
||||
hi! Cursor cterm=NONE gui=NONE ctermfg=15 guifg=#fdf6e3 ctermbg=4 guibg=#268bd2
|
||||
if get(g:, 'solarized_old_cursor_style', 0)
|
||||
hi! Cursor cterm=NONE gui=NONE ctermfg=8 guifg=#002b36 ctermbg=14 guibg=#93a1a1
|
||||
else
|
||||
hi! Cursor cterm=NONE gui=NONE ctermfg=15 guifg=#fdf6e3 ctermbg=4 guibg=#268bd2
|
||||
endif
|
||||
if get(g:, "solarized_visibility", "") == "high"
|
||||
hi! SpecialKey cterm=NONE,reverse gui=NONE,reverse ctermfg=9 guifg=#cb4b16 ctermbg=NONE guibg=NONE
|
||||
hi! NonText cterm=NONE,bold gui=NONE,bold ctermfg=9 guifg=#cb4b16 ctermbg=NONE guibg=NONE
|
||||
|
||||
Reference in New Issue
Block a user