nvim/lua/plugins/catppuccin.lua

58 lines
1.7 KiB
Lua
Raw Permalink Normal View History

2024-06-17 15:22:39 +07:00
return {
{
"catppuccin/nvim",
name = "catppuccin",
2024-08-12 17:06:01 +07:00
dependencies = {
"xiyaowong/transparent.nvim", -- For Transparency support
},
2024-06-17 15:22:39 +07:00
opts = {
styles = {
functions = { "italic" },
keywords = { "italic" },
},
2024-08-12 17:06:01 +07:00
transparent_background = true,
},
config = function(opts)
require("catppuccin").setup(opts)
vim.g.neovide_transparency = 0.8
if not vim.g.neovide then
require("transparent").setup {
groups = {
"Normal",
"NormalNC",
"Comment",
"Constant",
"Special",
"Identifier",
"Statement",
"PreProc",
"Type",
"Underlined",
"Todo",
"String",
"Function",
"Conditional",
"Repeat",
"Operator",
"Structure",
"LineNr",
"NonText",
"SignColumn",
-- "CursorLine",
-- "CursorLineNr",
-- "StatusLine",
-- "StatusLineNC",
2024-08-12 17:06:01 +07:00
"EndOfBuffer",
},
}
end
end,
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "catppuccin",
2024-06-17 15:22:39 +07:00
},
},
}