aboutsummaryrefslogtreecommitdiff
path: root/core/ui.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-12-23 23:09:32 +0800
committerjdhao <jdhao@hotmail.com>2020-12-23 23:09:32 +0800
commitfa28ef1b90dfc70de67e11959c39ba293c2971b7 (patch)
tree647731484c0b25fa08aa1d5ded9095003b7e929b /core/ui.vim
parent7ed2607371f6ef3cb5d06c26dd9d2b6f07aacd6a (diff)
Remove toast colorscheme
Too dark to fit my taste.
Diffstat (limited to 'core/ui.vim')
-rw-r--r--core/ui.vim10
1 files changed, 2 insertions, 8 deletions
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]