diff options
| author | jdhao <jdhao@hotmail.com> | 2021-12-23 22:36:29 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-12-23 22:36:29 +0800 |
| commit | 6cf31e2dcb8d8aae7b3b89e38436e75089c78d72 (patch) | |
| tree | cbf32b8aff5bad94a0cf0608fa11c59c5661390d | |
| parent | 08d3d7ec086f51e0c3b9d4a7a76880b0399ce49a (diff) | |
add colorscheme kanagawa
| -rw-r--r-- | core/themes.vim | 5 | ||||
| -rw-r--r-- | lua/plugins.lua | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/core/themes.vim b/core/themes.vim index 87e29cc..1de1a8b 100644 --- a/core/themes.vim +++ b/core/themes.vim @@ -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)) diff --git a/lua/plugins.lua b/lua/plugins.lua index 3381343..27b22ed 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -123,6 +123,7 @@ require("packer").startup({ use({"NTBBloodbath/doom-one.nvim", opt = true}) use({"sainnhe/everforest", opt = true}) use({"EdenEast/nightfox.nvim", opt = true}) + use({"rebelot/kanagawa.nvim", opt = true}) -- Show git change (change, delete, add) signs in vim sign column use({"mhinz/vim-signify", event = 'BufEnter'}) |
