From 7ed2607371f6ef3cb5d06c26dd9d2b6f07aacd6a Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 21 Dec 2020 23:27:03 +0800 Subject: [PATCH] Remove srcery colorscheme Does not work well for zoc terminal. --- core/plugins.vim | 1 - core/ui.vim | 10 ++-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/core/plugins.vim b/core/plugins.vim index be8eccb..cd00b51 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -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' diff --git a/core/ui.vim b/core/ui.vim index f517618..8528c8b 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -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]