aboutsummaryrefslogtreecommitdiff
path: root/ui.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-28 02:09:16 +0800
committerjdhao <jdhao@hotmail.com>2020-10-28 02:09:16 +0800
commitf0756d8e3d2f0c6a8fadc2f3db6db944497c7b3c (patch)
treef27209e26e90e5d8a80f297e47d97dc0384cfd43 /ui.vim
parent34d3fccb246a0224b6dca223ff7e595ceb158a75 (diff)
update toast colorscheme
Diffstat (limited to 'ui.vim')
-rw-r--r--ui.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui.vim b/ui.vim
index aca4cce..7f7a990 100644
--- a/ui.vim
+++ b/ui.vim
@@ -91,8 +91,14 @@ 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
+
let s:candidate_theme = ['gruvbox8', 'srcery', 'deus', 'happy_hacking', 'solarized8',
- \ 'monokai', 'vim_one', 'material', 'onedark']
+ \ 'monokai', 'vim_one', 'material', 'onedark', 'toast']
let s:idx = utils#RandInt(0, len(s:candidate_theme)-1)
let s:theme = s:candidate_theme[s:idx]