Let Neovim's status line show the terminal background (#967)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier HanssonandClaude Opus 5.5 authored and GitHub committed 2026-10-11 13:24:23 +00:00
1 parent d5406b5cb0
commit 60551aaddc
3 files changed
+24 -1

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
# Maintainer: Ryan Hughes <ryan@omarchy.org>
pkgname=omarchy-nvim
pkgver=2026.9.21
pkgrel=4
pkgrel=5
pkgdesc="Pre-built LazyVim configuration with cached plugins"
arch=('any')
url="https://github.com/LazyVim/LazyVim"
@@ -0,0 +1,21 @@
-- Let the status line show the terminal background, like the rest of the
-- editor. Lualine's auto theme paints its middle sections a solid colour, so
-- they are cleared on each theme it builds, which it does again on every
-- colorscheme change. The mode and position sections keep their colours.
return {
"nvim-lualine/lualine.nvim",
opts = function(_, opts)
opts.options = opts.options or {}
opts.options.theme = function()
local theme = require("lualine.utils.loader").load_theme("auto")
for _, mode in pairs(theme) do
for _, section in ipairs({ "b", "c" }) do
if mode[section] then
mode[section].bg = "None"
end
end
end
return theme
end
end,
}
@@ -20,6 +20,8 @@ local groups = {
"SignColumn",
"LineNr",
"CursorLineNr",
"StatusLine",
"StatusLineNC",
"NormalNC",
"WhichKeyFloat",
"TelescopeBorder",