feat: add Catppuccin colorscheme

This commit is contained in:
Stefan Imhoff
2022-09-30 20:40:27 +02:00
parent 896632d080
commit 06afc8b0fa
6 changed files with 330 additions and 3 deletions

View File

@@ -1,16 +1,22 @@
-- Colorscheme
-- Colorschemes
-- Base16
-- Base16 Theme
local source = "~/.vimrc_background"
local status_ok, _ = pcall(vim.cmd, "source " .. source)
if not status_ok then
--[[ vim.notify("Error sourcing " .. source) ]]
vim.notify("Error sourcing " .. source)
return
end
-- Catppuccin Theme
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
require("catppuccin").setup()
-- Set colorscheme and additional colors
vim.cmd([[
colorscheme tokyonight-night
highlight ColorColumn guibg=#202224
highlight SpellBad guifg=red
]])

View File

@@ -51,6 +51,7 @@ return packer.startup(function(use)
-- Colorscheme
use("chriskempson/base16-vim") -- Base16 colorschemes
use("folke/tokyonight.nvim") -- Tokyo Night color scheme
use({ "catppuccin/nvim", as = "catppuccin" }) -- Catppuccin color scheme
-- CMP
use("hrsh7th/nvim-cmp") -- The completion plugin