From 767fc2e61ab722387f21c1e38828eb27d92e987d Mon Sep 17 00:00:00 2001 From: Andy Teijelo Date: Thu, 29 Sep 2022 11:53:25 -0400 Subject: [PATCH] Use catppuccin theme --- lua/colorschemes.lua | 9 ++++++++- lua/plugins.lua | 9 +++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/lua/colorschemes.lua b/lua/colorschemes.lua index 9cdee77..288b0a7 100644 --- a/lua/colorschemes.lua +++ b/lua/colorschemes.lua @@ -61,12 +61,19 @@ function nightfox() vim.cmd("colorscheme carbonfox") end +function catppuccin() + vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha + require("catppuccin").setup() + vim.cmd [[colorscheme catppuccin]] +end + function setup() --vim.g.tokyonight_style = "night" --vim.cmd([[colorscheme tokyonight]]) --vim.cmd([[colorscheme PaperColor]]) --vim.cmd([[colorscheme moonfly]]) - nightfox() + --nightfox() + catppuccin() end setup() diff --git a/lua/plugins.lua b/lua/plugins.lua index 1518c65..ccab39a 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -13,10 +13,11 @@ packer.startup( use 'dcampos/nvim-snippy' use 'dcampos/cmp-snippy' use 'folke/tokyonight.nvim' - use 'bluz71/vim-moonfly-colors' - use 'NLKNguyen/papercolor-theme' - use 'olimorris/onedarkpro.nvim' - use 'EdenEast/nightfox.nvim' + use { "catppuccin/nvim", as = "catppuccin" } +-- use 'bluz71/vim-moonfly-colors' +-- use 'NLKNguyen/papercolor-theme' +-- use 'olimorris/onedarkpro.nvim' +-- use 'EdenEast/nightfox.nvim' use { 'nvim-treesitter/nvim-treesitter', run = function()