onedark.nvim icon indicating copy to clipboard operation
onedark.nvim copied to clipboard

Lualine transparency broken

Open smitropoulos-arista opened this issue 7 months ago • 3 comments

With the introduction of neovim 0.11, the lualine is not anymore transparent even with the option enabled

Image

smitropoulos-arista avatar Apr 11 '25 09:04 smitropoulos-arista

I just updated my neovim install and encountered the exact same issue. Has there been any progress on this or do I just have to live with this for now?😭

StillTree avatar May 16 '25 17:05 StillTree

Had a similar problem, solved with this:

vim.api.nvim_set_hl(0, "StatusLine", {reverse = false})
vim.api.nvim_set_hl(0, "StatusLineNC", {reverse = false})

leandreaux avatar May 23 '25 03:05 leandreaux

That fixed it for me, thanks a ton.

StillTree avatar May 23 '25 20:05 StillTree

Fixed in the latest commit! 🎉

The issue was that in Neovim 0.11, the StatusLine and StatusLineNC highlight groups were getting a reverse attribute applied by default, which broke lualine transparency.

The fix explicitly sets fmt = "NONE" for these highlight groups to prevent the reverse attribute:

  • StatusLine
  • StatusLineTerm
  • StatusLineNC
  • StatusLineTermNC

This should resolve the transparency issues with lualine in Neovim 0.11+. Thank you @leandreaux for identifying the workaround!

Please update to the latest version and let me know if you still experience any issues.

navarasu avatar Nov 07 '25 19:11 navarasu