From b65846a454166fd2fe814427b082a1dc9dba9ad8 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 7 Dec 2020 23:20:07 +0800 Subject: [PATCH] remove material.vim colorscheme Visual selection is barely visible. --- core/plugins.vim | 1 - core/ui.vim | 11 +---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/core/plugins.vim b/core/plugins.vim index 2eb2b71..adc9de5 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -89,7 +89,6 @@ Plug 'lifepillar/vim-gruvbox8' Plug 'srcery-colors/srcery-vim' Plug 'ajmwagar/vim-deus' Plug 'lifepillar/vim-solarized8' -Plug 'kaicataldo/material.vim' Plug 'joshdick/onedark.vim' Plug 'KeitaNakamura/neodark.vim' Plug 'jsit/toast.vim' diff --git a/core/ui.vim b/core/ui.vim index a440361..dd22759 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -46,15 +46,6 @@ function! s:my_theme_dict.solarized8() dict abort colorscheme solarized8_high endfunction -function! s:my_theme_dict.material() dict abort - if !utils#HasColorscheme('material') | return | endif - - let g:material_terminal_italics = 1 - " theme_style can be 'default', 'dark' or 'palenight' - let g:material_theme_style = 'default' - colorscheme material -endfunction - function! s:my_theme_dict.onedark() dict abort if !utils#HasColorscheme('onedark') | return | endif @@ -90,7 +81,7 @@ function! s:my_theme_dict.humanoid() dict abort colorscheme humanoid endfunction -let s:candidate_theme = ['gruvbox8', 'srcery', 'deus', 'solarized8', 'material', +let s:candidate_theme = ['gruvbox8', 'srcery', 'deus', 'solarized8', \ 'onedark', 'neodark', 'toast', 'sublimemonokai', 'humanoid'] let s:idx = utils#RandInt(0, len(s:candidate_theme)-1) let s:theme = s:candidate_theme[s:idx]