some changes

This commit is contained in:
pika 2025-06-22 18:32:24 +02:00
parent 1dd2406de3
commit e2e9bd2504
4 changed files with 196 additions and 122 deletions

View file

@ -1,4 +1,5 @@
return {
{ "SethBarberee/challenger-deep.nvim" },
-- ╭───────────────╮
-- │ common themes │
-- ╰───────────────╯
@ -74,7 +75,88 @@ return {
-- ╭───────────╮
-- │ rose-pine │
-- ╰───────────╯
{ "rose-pine/neovim", name = "rose-pine" },
{
"rose-pine/neovim",
name = "rose-pine",
opts = {
variant = "moon", -- auto, main, moon, or dawn
dark_variant = "moon", -- main, moon, or dawn
dim_inactive_windows = false,
extend_background_behind_borders = true,
enable = {
terminal = true,
legacy_highlights = true, -- Improve compatibility for previous versions of Neovim
migrations = true, -- Handle deprecated options automatically
},
styles = {
bold = true,
italic = true,
transparency = false,
},
groups = {
border = "muted",
link = "iris",
panel = "surface",
error = "love",
hint = "iris",
info = "foam",
note = "pine",
todo = "rose",
warn = "gold",
git_add = "foam",
git_change = "rose",
git_delete = "love",
git_dirty = "rose",
git_ignore = "muted",
git_merge = "iris",
git_rename = "pine",
git_stage = "iris",
git_text = "rose",
git_untracked = "subtle",
h1 = "iris",
h2 = "foam",
h3 = "rose",
h4 = "gold",
h5 = "pine",
h6 = "foam",
},
palette = {
-- Override the builtin palette per variant
-- moon = {
-- base = '#18191a',
-- overlay = '#363738',
-- },
},
-- NOTE: Highlight groups are extended (merged) by default. Disable this
-- per group via `inherit = false`
highlight_groups = {
-- INFO:
-- leafy search
CurSearch = { fg = "base", bg = "leaf", inherit = false },
Search = { fg = "text", bg = "leaf", blend = 20, inherit = false },
},
before_highlight = function(group, highlight, palette)
-- Disable all undercurls
-- if highlight.undercurl then
-- highlight.undercurl = false
-- end
--
-- Change palette colour
-- if highlight.fg == palette.pine then
-- highlight.fg = palette.foam
-- end
end,
},
},
-- ╭───────────────────────────╮
-- │ nordic (monet is similar) │