mirror of
https://github.com/cap153/nvim.git
synced 2025-12-27 03:34:57 +08:00
添加透明插件
This commit is contained in:
parent
ca4d0cf24a
commit
289c4daaa4
6 changed files with 94 additions and 73 deletions
|
|
@ -2,37 +2,44 @@
|
|||
-- === 主题
|
||||
-- ===
|
||||
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,
|
||||
},
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
config = function()
|
||||
vim.cmd.colorscheme("tokyonight")
|
||||
end,
|
||||
}
|
||||
-- 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,
|
||||
-- },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue