You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.1 KiB
Lua

return {
{
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
priority = 1000,
config = function()
local cp = require("catppuccin.palettes").get_palette()
require("catppuccin").setup({
flavour = "mocha",
transparent_background = true,
term_colors = true,
no_italic = true,
integrations = {
neogit = true,
mason = true,
native_lsp = {
enabled = true,
underlines = {
errors = {},
hints = {},
warnings = {},
information = {},
},
},
navic = {
enabled = true,
custom_bg = "NONE",
},
dap = {
enabled = true,
enable_ui = true,
},
cmp = true,
treesitter = true,
overseer = true,
telescope = true,
which_key = true,
},
color_overrides = {
mocha = {
base = "#000000",
mantle = "#000000",
surface2 = cp.subtext0,
overlay0 = cp.subtext0,
},
},
custom_highlights = {
ErrorMsg = { fg = cp.red, style = { "bold" } },
["@method.call"] = { fg = cp.blue },
["@constant"] = { fg = cp.sapphire },
LspInfoBorder = { link = "FloatBorder" },
PmenuSel = { bg = cp.surface0 },
FloatBorder = { fg = cp.overlay0, bg = "NONE" },
TelescopeBorder = { link = "FloatBorder" },
TelescopeMatching = { link = "TelescopeNormal" },
TelescopeSelection = { fg = "NONE", bg = cp.surface0 },
TelescopeTitle = { fg = cp.subtext0 },
QuickScopePrimary = { fg = cp.red },
QuickScopeSecondary = { fg = cp.peach },
DapStoppedLinehl = { bg = "#324430" },
DapBreakpointLinehl = { bg = "#492a32" },
NeogitDiffContextHighlight = { bg = "NONE" },
NavicText = { fg = cp.teal },
},
})
vim.cmd.colorscheme("catppuccin")
end,
},
}