From 644f8b6e2dc2ff3100c1f489a4c343f64f0d992c Mon Sep 17 00:00:00 2001 From: jdhao Date: Thu, 28 Jul 2022 01:32:41 +0800 Subject: add theme catppuccin --- core/themes.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core') diff --git a/core/themes.vim b/core/themes.vim index a18a0b4..17b9ca2 100644 --- a/core/themes.vim +++ b/core/themes.vim @@ -54,6 +54,13 @@ function! s:theme_setup_dict.kanagawa() dict abort colorscheme kanagawa endfunction +function! s:theme_setup_dict.catppuccin() dict abort + let g:catppuccin_flavour = "frappe" " latte, frappe, macchiato, mocha + + lua require("catppuccin").setup() + colorscheme catppuccin +endfunction + " Theme to directory name mapping, because theme repo name is not necessarily " the same as the theme name itself. let s:theme2dir = { @@ -67,6 +74,7 @@ let s:theme2dir = { \ 'everforest' :'everforest', \ 'nightfox': 'nightfox.nvim', \ 'kanagawa': 'kanagawa.nvim', + \ 'catppuccin': 'catppuccin' \ } let s:theme = utils#RandElement(keys(s:theme2dir)) -- cgit v1.2.3