From fa28ef1b90dfc70de67e11959c39ba293c2971b7 Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 23 Dec 2020 23:09:32 +0800 Subject: [PATCH] Remove toast colorscheme Too dark to fit my taste. --- 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 cd00b51..56633ee 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -90,7 +90,6 @@ Plug 'ajmwagar/vim-deus' Plug 'lifepillar/vim-solarized8' Plug 'joshdick/onedark.vim' Plug 'KeitaNakamura/neodark.vim' -Plug 'jsit/toast.vim' Plug 'sainnhe/edge' Plug 'sainnhe/sonokai' diff --git a/core/ui.vim b/core/ui.vim index 8528c8b..ec9b5f4 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -53,12 +53,6 @@ function! s:my_theme_dict.neodark() dict abort colorscheme neodark endfunction -function! s:my_theme_dict.toast() dict abort - if !utils#HasColorscheme('toast') | return | endif - - colorscheme toast -endfunction - function! s:my_theme_dict.edge() dict abort if !utils#HasColorscheme('edge') | return | endif @@ -75,8 +69,8 @@ function! s:my_theme_dict.sonokai() dict abort colorscheme sonokai endfunction -let s:candidate_theme = ['gruvbox8', 'deus', 'solarized8', 'onedark', - \ 'neodark', 'toast', 'edge', 'sonokai'] +let s:candidate_theme = ['gruvbox8', 'deus', 'solarized8', 'onedark', 'neodark', + \ 'edge', 'sonokai'] let s:idx = utils#RandInt(0, len(s:candidate_theme)-1) let s:theme = s:candidate_theme[s:idx]