Repository navigation
Let Neovim's current line and status line show the terminal background on existing installs - #15024
Conversation
|
30b7b34 to
8537d5b
Compare
8537d5b to
d221086
Compare
d221086 to
babfb37
Compare
…d on existing installs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
babfb37 to
b8a350b
Compare
| if [[ ! -f $package/${files[1]} ]]; then | ||
| echo "Update omarchy-nvim to 2026.9.21-5 or newer before rerunning this migration." >&2 | ||
| exit 1 |
There was a problem hiding this comment.
Removed package blocks updates
If a user removes omarchy-nvim but keeps their Neovim config, this check fails on every update. omarchy-update-system-pkgs upgrades installed packages; it does not reinstall the removed package. The failure stops all later migrations, even when both config files need no changes.
Skip this migration when omarchy-nvim is not installed, and keep the retry check for an installed older package.
Knowledge Base Used: Migration framework
Brings omacom/omarchy-pkgs#963 and #967 to existing installs. Under transparent and Glassy windows, those PRs let Neovim's current line (
CursorLine) and its status line (StatusLineand lualine's middle sections) show the terminal background instead of solid stripes, while neo-tree keeps its selection colour.~/.config/nvimis copied once fromomarchy-nvim, so existing configs never pick up package changes.Migration, following
1788996284.sh:plugin/after/transparency.luais replaced with the package's copy only while it is byte-identical to one of the three versions Omarchy has shipped. A file the user changed is kept.lua/plugins/lualine-transparent.luais copied from the package unless one already exists.omarchy-nvimolder than 2026.9.21-5 (without the lualine spec) also leaves it pending, to run after the package update.Merge order: the package from omacom/omarchy-pkgs#967 should be published before this ships, or migrations wait on it.
Tests: new
test/shell.d/nvim-transparent-lines-migration-test.shruns the migration against a stand-in package. It covers a shipped config, a second run, files the user changed or added, a linked config, an older package, a failed write, and a missing config../test/clipasses.🤖 Generated with Claude Code