From f0756d8e3d2f0c6a8fadc2f3db6db944497c7b3c Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 28 Oct 2020 02:09:16 +0800 Subject: update toast colorscheme --- ui.vim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ui.vim') 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] -- cgit v1.2.3