aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-08-18 01:53:27 +0800
committerjdhao <jdhao@hotmail.com>2021-08-18 01:53:27 +0800
commit5817b1c2077186240d54c0161cffddaab4b53c8d (patch)
tree0f7c55ae425284f07247a550b499c994a6802121
parentbac94b47a085583db5b200c5d0fdf47d8cff4139 (diff)
Add colorscheme everforest
-rw-r--r--core/ui.vim8
-rw-r--r--lua/plugins.lua1
2 files changed, 8 insertions, 1 deletions
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")