Let Neovim's current line show the terminal background (#963)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
175c605260
commit
d0815d6339
2 files changed
+9
-1
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Ryan Hughes <ryan@omarchy.org>
|
# Maintainer: Ryan Hughes <ryan@omarchy.org>
|
||||||
pkgname=omarchy-nvim
|
pkgname=omarchy-nvim
|
||||||
pkgver=2026.9.21
|
pkgver=2026.9.21
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Pre-built LazyVim configuration with cached plugins"
|
pkgdesc="Pre-built LazyVim configuration with cached plugins"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/LazyVim/LazyVim"
|
url="https://github.com/LazyVim/LazyVim"
|
||||||
|
|||||||
@@ -54,6 +54,14 @@ local groups = {
|
|||||||
"NotifyDEBUGBorder",
|
"NotifyDEBUGBorder",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- The current line goes see-through too, leaving its number to mark it. The
|
||||||
|
-- file tree marks its selection with that line alone, so it keeps the colour.
|
||||||
|
local cursorline = vim.api.nvim_get_hl(0, { name = "CursorLine", link = false })
|
||||||
|
if cursorline.bg then
|
||||||
|
vim.api.nvim_set_hl(0, "NeoTreeCursorLine", { bg = cursorline.bg })
|
||||||
|
end
|
||||||
|
table.insert(groups, "CursorLine")
|
||||||
|
|
||||||
for _, name in ipairs(groups) do
|
for _, name in ipairs(groups) do
|
||||||
make_transparent(name)
|
make_transparent(name)
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user