aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-07-04 17:18:54 +0800
committerjdhao <jdhao@hotmail.com>2021-07-04 17:18:54 +0800
commit1f461dcf91ee1f011f87f724a4b90bc2e91ebc35 (patch)
tree66c3eaa9e34aa248588db94a5eaa501ce9047bb8 /core
parent2a01d3b59fa6fd102454bf17cc1e1281092d137c (diff)
Add colorscheme nord
Diffstat (limited to 'core')
-rw-r--r--core/ui.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/ui.vim b/core/ui.vim
index bba4819..331c94f 100644
--- a/core/ui.vim
+++ b/core/ui.vim
@@ -56,8 +56,12 @@ function! s:my_theme_dict.gruvbox_material() dict abort
colorscheme gruvbox-material
endfunction
+function! s:my_theme_dict.nord() dict abort
+ colorscheme nord
+endfunction
+
let s:candidate_theme = ['gruvbox8', 'deus', 'solarized8', 'onedark', 'neodark',
- \ 'edge', 'sonokai', 'gruvbox_material']
+ \ 'edge', 'sonokai', 'gruvbox_material', 'nord']
let s:idx = utils#RandInt(0, len(s:candidate_theme)-1)
let s:theme = s:candidate_theme[s:idx]