From 7af18765b3776208646ca8c4a6268aec69adfd33 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 28 Nov 2020 22:34:15 +0800 Subject: [PATCH] remove some color schemes --- core/plugins.vim | 3 --- core/ui.vim | 22 ++-------------------- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/core/plugins.vim b/core/plugins.vim index 590456d..ba5617d 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -89,9 +89,6 @@ Plug 'lifepillar/vim-gruvbox8' Plug 'srcery-colors/srcery-vim' Plug 'ajmwagar/vim-deus' Plug 'lifepillar/vim-solarized8' -" Do not try other monokai-tasty and monokai-pro anymore, they -" all have bad DiffDelete highlight issues. -" Plug 'sickill/vim-monokai' Plug 'kaicataldo/material.vim' Plug 'joshdick/onedark.vim' Plug 'KeitaNakamura/neodark.vim' diff --git a/core/ui.vim b/core/ui.vim index 4804bec..820e8fc 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -40,12 +40,6 @@ function! s:my_theme_dict.deus() dict abort colorscheme deus endfunction -function! s:my_theme_dict.happy_hacking() dict abort - if !utils#HasColorscheme('happy_hacking') | return | endif - - colorscheme happy_hacking -endfunction - function! s:my_theme_dict.solarized8() dict abort if !utils#HasColorscheme('solarized8') | return | endif @@ -54,18 +48,6 @@ function! s:my_theme_dict.solarized8() dict abort colorscheme solarized8_high endfunction -function! s:my_theme_dict.monokai() dict abort - if !utils#HasColorscheme('monokai') | return | endif - colorscheme monokai -endfunction - -function! s:my_theme_dict.vim_one() dict abort - if !utils#HasColorscheme('one') | return | endif - - let g:one_allow_italics = 1 - colorscheme one -endfunction - function! s:my_theme_dict.material() dict abort if !utils#HasColorscheme('material') | return | endif @@ -94,8 +76,8 @@ function! s:my_theme_dict.toast() dict abort colorscheme toast endfunction -let s:candidate_theme = ['gruvbox8', 'srcery', 'deus', 'happy_hacking', 'solarized8', - \ 'monokai', 'vim_one', 'material', 'onedark', 'neodark', 'toast'] +let s:candidate_theme = ['gruvbox8', 'srcery', 'deus', 'solarized8', + \ 'material', 'onedark', 'neodark', 'toast'] let s:idx = utils#RandInt(0, len(s:candidate_theme)-1) let s:theme = s:candidate_theme[s:idx]