From 5817b1c2077186240d54c0161cffddaab4b53c8d Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 18 Aug 2021 01:53:27 +0800 Subject: Add colorscheme everforest --- core/ui.vim | 8 +++++++- lua/plugins.lua | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/core/ui.vim b/core/ui.vim index f93c10e..a81a025 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -55,8 +55,14 @@ function! s:my_theme_dict.doom_one() dict abort colorscheme doom-one endfunction +function! s:my_theme_dict.everforest() dict abort + let g:everforest_enable_italic = 1 + let g:everforest_better_performance = 1 + colorscheme everforest +endfunction + let s:candidate_theme = ['gruvbox8', 'deus', 'solarized8', 'onedark', - \ 'edge', 'sonokai', 'gruvbox_material', 'nord', 'doom_one'] + \ 'edge', 'sonokai', 'gruvbox_material', 'nord', 'doom_one', 'everforest'] let s:idx = utils#RandInt(0, len(s:candidate_theme)-1) let s:theme = s:candidate_theme[s:idx] diff --git a/lua/plugins.lua b/lua/plugins.lua index 0beed39..ca7c8ad 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -96,6 +96,7 @@ require("packer").startup({ use("sainnhe/gruvbox-material") use("shaunsingh/nord.nvim") use("NTBBloodbath/doom-one.nvim") + use("sainnhe/everforest") -- colorful status line and theme use("vim-airline/vim-airline-themes") -- cgit v1.2.3