nvim/lua/plugins/catppuccin.lua
Evie Litherland-Smith 1604376d4b Only blend floating windows when using neovide
Set notify background based on catppuccin colourscheme
2023-05-16 13:42:12 +01:00

40 lines
992 B
Lua

local config = {
flavour = "macchiato",
term_colors = true,
transparent_background = true,
integrations = {
alpha = true,
gitsigns = true,
hop = true,
indent_blankline = { enabled = true, colored_indent_levels = true },
cmp = true,
markdown = true,
mini = true,
native_lsp = { enabled = true },
neogit = true,
neotree = true,
noice = true,
notify = true,
navic = { enabled = true },
treesitter = true,
treesitter_context = true,
telescope = true,
lsp_trouble = true,
which_key = true,
},
}
if vim.g.neovide then config.transparent_background = false end
return {
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
priority = 1000,
init = function() vim.opt.termguicolors = true end,
config = function()
require("catppuccin").setup(config)
vim.cmd.colorscheme "catppuccin"
end,
}