mirror of
https://github.com/cap153/nvim.git
synced 2025-12-27 03:34:57 +08:00
38 lines
814 B
Lua
38 lines
814 B
Lua
-- ===
|
|
-- === 主题
|
|
-- ===
|
|
return {
|
|
{
|
|
"catppuccin/nvim",
|
|
name = "catppuccin",
|
|
priority = 1000,
|
|
opts = {
|
|
transparent_background = false,
|
|
custom_highlights = function(colors)
|
|
return {
|
|
LineNr = { fg = colors.surface2 },
|
|
Visual = { bg = colors.overlay0 },
|
|
Search = { bg = colors.surface2 },
|
|
IncSearch = { bg = colors.lavender },
|
|
CurSearch = { bg = colors.lavender },
|
|
MatchParen = { bg = colors.lavender, fg = colors.base, bold = true },
|
|
}
|
|
end,
|
|
integrations = {
|
|
barbar = true,
|
|
blink_cmp = true,
|
|
gitsigns = true,
|
|
mason = true,
|
|
noice = true,
|
|
notify = true,
|
|
nvimtree = true,
|
|
rainbow_delimiters = true,
|
|
},
|
|
},
|
|
config = function(_, opts)
|
|
require("catppuccin").setup(opts)
|
|
|
|
vim.cmd.colorscheme("catppuccin")
|
|
end,
|
|
},
|
|
}
|