cap153_nvim/lua/lazy/plugins/themes.lua
a770 38bedd3beb 适配neovim 0.11
1. 更改使用的主题
2. 更改底部状态栏样式
3. 更换彩虹括号插件适配neovim 0.11
4. 更换彩虹缩进样式
5. 添加lock文件
2025-05-10 20:43:44 +08:00

38 lines
813 B
Lua

-- ===
-- === 主题
-- ===
return {
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
opts = {
transparent_background = true,
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,
},
}