From f0756d8e3d2f0c6a8fadc2f3db6db944497c7b3c Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 28 Oct 2020 02:09:16 +0800 Subject: update toast colorscheme --- plugins.vim | 1 + ui.vim | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins.vim b/plugins.vim index dd423c3..6e1d0ba 100644 --- a/plugins.vim +++ b/plugins.vim @@ -107,6 +107,7 @@ Plug 'rakr/vim-one' Plug 'kaicataldo/material.vim' Plug 'joshdick/onedark.vim' Plug 'KeitaNakamura/neodark.vim' +Plug 'jsit/toast.vim' if !exists('g:started_by_firenvim') " colorful status line and theme 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