1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Add colorscheme nord

This commit is contained in:
jdhao 2021-07-04 17:18:54 +08:00
parent 2a01d3b59f
commit 1f461dcf91
2 changed files with 6 additions and 1 deletions

View File

@ -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]

View File

@ -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