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

remove some color schemes

This commit is contained in:
jdhao 2020-11-28 22:34:15 +08:00
parent fcd4ae3210
commit 7af18765b3
2 changed files with 2 additions and 23 deletions

View File

@ -89,9 +89,6 @@ Plug 'lifepillar/vim-gruvbox8'
Plug 'srcery-colors/srcery-vim'
Plug 'ajmwagar/vim-deus'
Plug 'lifepillar/vim-solarized8'
" Do not try other monokai-tasty and monokai-pro anymore, they
" all have bad DiffDelete highlight issues.
" Plug 'sickill/vim-monokai'
Plug 'kaicataldo/material.vim'
Plug 'joshdick/onedark.vim'
Plug 'KeitaNakamura/neodark.vim'

View File

@ -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]