From 9d40dce70ec31bc04a46718863c91cb8a9f24bcf Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 23 Oct 2021 17:14:04 +0800 Subject: [PATCH] remove solarized color theme It sucks for viewing diff. --- core/themes.vim | 12 ++---------- lua/plugins.lua | 1 - 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/core/themes.vim b/core/themes.vim index 7bfc588..c6b7219 100644 --- a/core/themes.vim +++ b/core/themes.vim @@ -14,13 +14,6 @@ function! s:my_theme_dict.gruvbox8() dict abort colorscheme gruvbox8_hard endfunction -function! s:my_theme_dict.solarized() dict abort - packadd! nvim-solarized-lua - - " Load the colorsheme - colorscheme solarized-high -endfunction - function! s:my_theme_dict.onedark() dict abort packadd! onedark.nvim @@ -76,9 +69,8 @@ function! s:my_theme_dict.nightfox() dict abort colorscheme nordfox endfunction -let s:candidate_theme = ['gruvbox8', 'solarized', '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) diff --git a/lua/plugins.lua b/lua/plugins.lua index 28f7e49..45e2227 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -107,7 +107,6 @@ require("packer").startup({ -- A list of colorscheme plugin you may want to try. Find what suits you. use({"lifepillar/vim-gruvbox8", opt = true}) - use({"ishan9299/nvim-solarized-lua", opt = true}) use({"navarasu/onedark.nvim", opt = true}) use({"sainnhe/edge", opt = true}) use({"sainnhe/sonokai", opt = true})