aboutsummaryrefslogtreecommitdiff
path: root/core/ui.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-11-28 22:34:15 +0800
committerjdhao <jdhao@hotmail.com>2020-11-28 22:35:07 +0800
commit7af18765b3776208646ca8c4a6268aec69adfd33 (patch)
treec4fad76e995496bc4d1f03f9b7f1a96f293a12f8 /core/ui.vim
parentfcd4ae32100d10334be8083db6f8cc3e9578a8d5 (diff)
remove some color schemes
Diffstat (limited to 'core/ui.vim')
-rw-r--r--core/ui.vim22
1 files changed, 2 insertions, 20 deletions
diff --git a/core/ui.vim b/core/ui.vim
index 4804bec..820e8fc 100644
--- a/core/ui.vim
+++ b/core/ui.vim
@@ -40,12 +40,6 @@ function! s:my_theme_dict.deus() dict abort
colorscheme deus
endfunction
-function! s:my_theme_dict.happy_hacking() dict abort
- if !utils#HasColorscheme('happy_hacking') | return | endif
-
- colorscheme happy_hacking
-endfunction
-
function! s:my_theme_dict.solarized8() dict abort
if !utils#HasColorscheme('solarized8') | return | endif
@@ -54,18 +48,6 @@ function! s:my_theme_dict.solarized8() dict abort
colorscheme solarized8_high
endfunction
-function! s:my_theme_dict.monokai() dict abort
- if !utils#HasColorscheme('monokai') | return | endif
- colorscheme monokai
-endfunction
-
-function! s:my_theme_dict.vim_one() dict abort
- if !utils#HasColorscheme('one') | return | endif
-
- let g:one_allow_italics = 1
- colorscheme one
-endfunction
-
function! s:my_theme_dict.material() dict abort
if !utils#HasColorscheme('material') | return | endif
@@ -94,8 +76,8 @@ function! s:my_theme_dict.toast() dict abort
colorscheme toast
endfunction
-let s:candidate_theme = ['gruvbox8', 'srcery', 'deus', 'happy_hacking', 'solarized8',
- \ 'monokai', 'vim_one', 'material', 'onedark', 'neodark', 'toast']
+let s:candidate_theme = ['gruvbox8', 'srcery', 'deus', 'solarized8',
+ \ 'material', 'onedark', 'neodark', 'toast']
let s:idx = utils#RandInt(0, len(s:candidate_theme)-1)
let s:theme = s:candidate_theme[s:idx]