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

add colorscheme kanagawa

This commit is contained in:
jdhao
2021-12-23 22:36:29 +08:00
parent 08d3d7ec08
commit 6cf31e2dcb
2 changed files with 6 additions and 0 deletions

View File

@@ -50,6 +50,10 @@ function! s:theme_setup_dict.nightfox() dict abort
colorscheme nordfox
endfunction
function! s:theme_setup_dict.kanagawa() dict abort
colorscheme kanagawa
endfunction
" Theme to directory name mapping, because theme repo name is not necessarily
" the same as the theme name itself.
let s:theme2dir = {
@@ -62,6 +66,7 @@ let s:theme2dir = {
\ 'doom_one': 'doom-one.nvim',
\ 'everforest' :'everforest',
\ 'nightfox': 'nightfox.nvim',
\ 'kanagawa': 'kanagawa.nvim',
\ }
let s:theme = utils#RandElement(keys(s:theme2dir))