nvim/lua/plugins/catppuccin.lua

40 lines
992 B
Lua
Raw Normal View History

2023-05-16 09:22:33 +01:00
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 },
2023-05-16 09:22:33 +01:00
cmp = true,
markdown = true,
mini = true,
native_lsp = { enabled = true },
2023-05-16 09:22:33 +01:00
neogit = true,
neotree = true,
noice = true,
notify = true,
navic = { enabled = true },
2023-05-16 09:22:33 +01:00
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()
2023-05-16 09:22:33 +01:00
require("catppuccin").setup(config)
vim.cmd.colorscheme "catppuccin"
end,
}