aboutsummaryrefslogtreecommitdiff
path: root/core/ui.vim
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 /core/ui.vim
parentbac94b47a085583db5b200c5d0fdf47d8cff4139 (diff)
Add colorscheme everforest
Diffstat (limited to 'core/ui.vim')
-rw-r--r--core/ui.vim8
1 files changed, 7 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]