diff options
| author | jdhao <jdhao@hotmail.com> | 2021-07-04 17:18:54 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-07-04 17:18:54 +0800 |
| commit | 1f461dcf91ee1f011f87f724a4b90bc2e91ebc35 (patch) | |
| tree | 66c3eaa9e34aa248588db94a5eaa501ce9047bb8 | |
| parent | 2a01d3b59fa6fd102454bf17cc1e1281092d137c (diff) | |
Add colorscheme nord
| -rw-r--r-- | core/ui.vim | 6 | ||||
| -rw-r--r-- | lua/plugins.lua | 1 |
2 files changed, 6 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] 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 |
