1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Remove srcery colorscheme

Does not work well for zoc terminal.
This commit is contained in:
jdhao 2020-12-21 23:27:03 +08:00
parent 21cff3e527
commit 7ed2607371
2 changed files with 2 additions and 9 deletions

View File

@ -86,7 +86,6 @@ endif
"{{ UI: Color, theme etc.
" A list of colorscheme plugin you may want to try. Find what suits you.
Plug 'lifepillar/vim-gruvbox8'
Plug 'srcery-colors/srcery-vim'
Plug 'ajmwagar/vim-deus'
Plug 'lifepillar/vim-solarized8'
Plug 'joshdick/onedark.vim'

View File

@ -26,12 +26,6 @@ function! s:my_theme_dict.gruvbox8() dict abort
colorscheme gruvbox8_hard
endfunction
function! s:my_theme_dict.srcery() dict abort
if !utils#HasColorscheme('srcery') | return | endif
colorscheme srcery
endfunction
function! s:my_theme_dict.deus() dict abort
if !utils#HasColorscheme('deus') | return | endif
@ -81,8 +75,8 @@ function! s:my_theme_dict.sonokai() dict abort
colorscheme sonokai
endfunction
let s:candidate_theme = ['gruvbox8', 'srcery', 'deus', 'solarized8',
\ 'onedark', 'neodark', 'toast', 'edge', 'sonokai']
let s:candidate_theme = ['gruvbox8', 'deus', 'solarized8', 'onedark',
\ 'neodark', 'toast', 'edge', 'sonokai']
let s:idx = utils#RandInt(0, len(s:candidate_theme)-1)
let s:theme = s:candidate_theme[s:idx]