1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00
This commit is contained in:
jdhao 2021-10-23 17:42:27 +08:00
parent 9a5318c0e1
commit f56e267030

View File

@ -69,8 +69,17 @@ function! s:my_theme_dict.nightfox() dict abort
colorscheme nordfox
endfunction
let s:candidate_theme = ['gruvbox8', 'onedark', 'edge', 'sonokai', 'gruvbox_material',
\'nord', 'doom_one', 'everforest', 'nightfox']
let s:candidate_theme = [
\ 'gruvbox8',
\ 'onedark',
\ 'edge',
\ 'sonokai',
\ 'gruvbox_material',
\ 'nord',
\ 'doom_one',
\ 'everforest',
\ 'nightfox'
\ ]
let s:theme = utils#RandElement(s:candidate_theme)
let s:colorscheme_func = printf('s:my_theme_dict.%s()', s:theme)