From 1f461dcf91ee1f011f87f724a4b90bc2e91ebc35 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 4 Jul 2021 17:18:54 +0800 Subject: [PATCH] Add colorscheme nord --- core/ui.vim | 6 +++++- lua/plugins.lua | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) 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] diff --git a/lua/plugins.lua b/lua/plugins.lua index 6163784..2585356 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -78,6 +78,7 @@ require('packer').startup( use 'sainnhe/edge' use 'sainnhe/sonokai' use 'sainnhe/gruvbox-material' + use 'shaunsingh/nord.nvim' if fn.exists('g:started_by_firenvim') == 0 then -- colorful status line and theme