mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update toast colorscheme
This commit is contained in:
parent
34d3fccb24
commit
f0756d8e3d
@ -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
|
||||
|
||||
8
ui.vim
8
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]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user