dotfiles/home/apps/neovim/lua/plugins/catppuccin.lua

98 lines
2.9 KiB
Lua
Raw Normal View History

---@type LazySpec[]
return {
{
"catppuccin/nvim",
name = "catppuccin",
config = function()
require("catppuccin").setup({
2023-04-26 04:31:06 +02:00
transparent_background = not vim.g.neovide,
dim_inactive = {
enabled = false,
shade = "dark",
percentage = 0.15,
},
styles = {
comments = { "italic" },
conditionals = { "italic" },
},
2023-06-17 22:09:36 +02:00
term_colors = true,
integrations = {
treesitter = true,
treesitter_context = true,
native_lsp = {
enabled = true,
virtual_text = {
errors = { "italic" },
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
},
underlines = {
errors = { "undercurl" },
hints = { "undercurl" },
warnings = { "undercurl" },
information = { "undercurl" },
},
},
cmp = true,
lsp_trouble = true,
nvimtree = true,
which_key = true,
indent_blankline = {
enabled = true,
colored_indent_levels = true,
},
navic = {
enabled = true,
custom_bg = "NONE",
},
gitsigns = true,
lightspeed = true,
markdown = true,
neogit = true,
symbols_outline = true,
ts_rainbow = true,
vimwiki = true,
notify = true,
},
highlight_overrides = {
all = function(colors)
return {
-- borders
FloatBorder = { fg = colors.overlay0 },
LspInfoBorder = { link = "FloatBorder" },
NvimTreeWinSeparator = { link = "FloatBorder" },
WhichKeyBorder = { link = "FloatBorder" },
-- telescope
TelescopeBorder = { link = "FloatBorder" },
TelescopeTitle = { fg = colors.text },
TelescopeSelection = { link = "Selection" },
TelescopeSelectionCaret = { link = "Selection" },
-- pmenu
PmenuSel = { link = "Selection" },
-- bufferline
BufferLineTabSeparator = { link = "FloatBorder" },
BufferLineSeparator = { link = "FloatBorder" },
BufferLineOffsetSeparator = { link = "FloatBorder" },
--
FidgetTitle = { fg = colors.subtext1 },
FidgetTask = { fg = colors.subtext0 },
2023-06-17 22:09:36 +02:00
NotifyBackground = { bg = colors.base },
NotifyINFOBorder = { link = "NotifyInfoTitle" },
NotifyINFOIcon = { link = "NotifyINFOTitle" },
NotifyINFOTitle = { fg = colors.pink },
}
end,
},
})
vim.cmd.colorscheme("catppuccin")
end,
},
{
"f-person/auto-dark-mode.nvim",
opts = true,
},
}