diff options
| author | jdhao <jdhao@hotmail.com> | 2020-10-28 02:09:16 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-10-28 02:09:16 +0800 |
| commit | f0756d8e3d2f0c6a8fadc2f3db6db944497c7b3c (patch) | |
| tree | f27209e26e90e5d8a80f297e47d97dc0384cfd43 | |
| parent | 34d3fccb246a0224b6dca223ff7e595ceb158a75 (diff) | |
update toast colorscheme
| -rw-r--r-- | plugins.vim | 1 | ||||
| -rw-r--r-- | ui.vim | 8 |
2 files changed, 8 insertions, 1 deletions
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 @@ -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] |
