Skip to content

Commit ab41dd9

Browse files
committed
fix(appearance): fix broken highlight of StatusLine in neovim 0.11 nightly
Ref: neovim/neovim#29976 Ref: nvim-lualine/lualine.nvim#1312 (comment)
1 parent 78edf10 commit ab41dd9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lua/vimrc/plugins/gruvbox.lua

+5-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,11 @@ gruvbox.custom_overrides = function()
7575
-- NOTE: Set background to nil. The 'cursorline' still has visual indication in line number
7676
-- column.
7777
CursorLine = { bg = nil },
78-
StatusLine = { fg = palette.dark2, bg = nil, reverse = gruvbox.config.inverse },
79-
StatusLineNC = { fg = palette.dark1, bg = nil, reverse = gruvbox.config.inverse },
78+
-- NOTE: Do not reverse to fix the broken highlight in neovim 0.11 nightly
79+
-- Ref: https://github.com/neovim/neovim/pull/29976
80+
-- Ref: https://github.com/nvim-lualine/lualine.nvim/issues/1312#issuecomment-2439965065
81+
StatusLine = { fg = palette.dark2, bg = nil, reverse = false },
82+
StatusLineNC = { fg = palette.dark1, bg = nil, reverse = false },
8083
WinBar = { fg = palette.light3, bg = nil },
8184
WinBarNC = { fg = palette.light4, bg = nil },
8285

0 commit comments

Comments
 (0)