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:
parent
2a01d3b59f
commit
1f461dcf91
@ -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]
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user