From 4df03431200e413522e0eb146cf1471a2323e7de Mon Sep 17 00:00:00 2001 From: aileot <46470475+aileot@users.noreply.github.com> Date: Sun, 30 Mar 2025 22:46:09 +0900 Subject: [PATCH] fix: set `background=light` if variant is "dawn" This change might fix https://github.com/rose-pine/neovim/issues/321 --- lua/rose-pine.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index 24fa5da..d3f6175 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -1182,6 +1182,12 @@ function M.colorscheme(variant) end vim.g.colors_name = "rose-pine" + if variant == "dawn" then + vim.opt.background = "light" + else + vim.opt.background = "dark" + end + set_highlights() end