From 4f004c381c40da023b53ba4b534b8eea550fe90d Mon Sep 17 00:00:00 2001 From: kunchenguid Date: Wed, 8 Jul 2026 12:03:30 -0700 Subject: [PATCH 1/2] Configure Neovim rose-pine moon colorscheme --- home/.config/nvim/lazy-lock.json | 1 + home/.config/nvim/lua/plugins/colorscheme.lua | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 home/.config/nvim/lua/plugins/colorscheme.lua diff --git a/home/.config/nvim/lazy-lock.json b/home/.config/nvim/lazy-lock.json index 824d5d9..605c41a 100644 --- a/home/.config/nvim/lazy-lock.json +++ b/home/.config/nvim/lazy-lock.json @@ -5,6 +5,7 @@ "neogit": { "branch": "master", "commit": "43ea1a0854052e583f647e0b35879f0158a70a78" }, "oil.nvim": { "branch": "master", "commit": "b73018b75affd13fa38e2fc94ef753b465f770d7" }, "plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" }, + "rose-pine": { "branch": "main", "commit": "cf2a288696b03d0934da713d66c6d71557b5c997" }, "snacks.nvim": { "branch": "main", "commit": "882c996cf28183f4d63640de0b4c02ec886d01f2" }, "which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" } } diff --git a/home/.config/nvim/lua/plugins/colorscheme.lua b/home/.config/nvim/lua/plugins/colorscheme.lua new file mode 100644 index 0000000..d8c3d6b --- /dev/null +++ b/home/.config/nvim/lua/plugins/colorscheme.lua @@ -0,0 +1,27 @@ +return { + { + 'rose-pine/neovim', + lazy = false, + priority = 1000, + name = 'rose-pine', + config = function() + require('rose-pine').setup({ + dark_variant = 'moon', + dim_inactive_windows = false, + extend_background_behind_borders = false, + styles = { + italic = false, + transparency = vim.uv.os_uname().sysname == 'Darwin' + or string.find(vim.uv.os_uname().sysname, 'Windows') ~= nil + or string.find(vim.uv.os_uname().release, 'WSL') ~= nil, + }, + }) + + vim.cmd('colorscheme rose-pine') + + -- Make the dimmed directory path in the Snacks picker readable + local palette = require('rose-pine.palette') + vim.api.nvim_set_hl(0, 'SnacksPickerDir', { fg = palette.subtle }) + end, + }, +} From dd098a02f6eee53d72ed9b6116f7979991fc93df Mon Sep 17 00:00:00 2001 From: kunchenguid Date: Wed, 8 Jul 2026 12:23:05 -0700 Subject: [PATCH 2/2] no-mistakes(document): Document Neovim rose-pine theme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 928c0e4..d55dfb9 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ Running the switch builds: - Homebrew apps (casks and CLI tools) - Nix user packages (ripgrep, fd, fzf, jq, lazygit, Neovim, Hack Nerd Font) - Shell (zsh, aliases, starship prompt) -- Editor (Neovim config) -- Terminal (WezTerm config) +- Editor (Neovim config with the rose-pine moon theme) +- Terminal (WezTerm config with the rose-pine moon theme) - Agent configs (Claude, Codex, opencode all share one AGENTS.md) ## Prerequisites @@ -140,6 +140,8 @@ You only run `./rebuild.sh` when you change something that isn't just a symlinke The first time you launch `nvim`, it bootstraps [lazy.nvim](https://github.com/folke/lazy.nvim) by cloning plugins from GitHub. That needs network access once; after that it's offline. +Neovim and WezTerm both use the rose-pine moon theme. +Neovim keeps italics off and uses a transparent background on macOS, Windows, and WSL so it matches the terminal setup. ## License