1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

fix minor issue

This commit is contained in:
jdhao 2020-10-28 02:11:23 +08:00
parent f0756d8e3d
commit fc53a24ef4

5
ui.vim
View File

@ -13,9 +13,6 @@ set background=dark
"{{ Colorscheme settings
let s:my_theme_dict = {}
function! s:my_theme_dict.srcery() dict abort
colorscheme srcery
endfunction
function! s:my_theme_dict.gruvbox8() dict abort
" We should check if theme exists before using it, otherwise you will get
@ -98,7 +95,7 @@ function! s:my_theme_dict.toast() dict abort
endfunction
let s:candidate_theme = ['gruvbox8', 'srcery', 'deus', 'happy_hacking', 'solarized8',
\ 'monokai', 'vim_one', 'material', 'onedark', 'toast']
\ 'monokai', 'vim_one', 'material', 'onedark', 'neodark', 'toast']
let s:idx = utils#RandInt(0, len(s:candidate_theme)-1)
let s:theme = s:candidate_theme[s:idx]