fix: fzf-lua invisible selection (#299)

* fix: invisible text in selection in fzf-lua

* fix: correct bg color for FzfLuaNormal

* fix: invisible text in selection in fzf-lua

* fix: correct bg color for FzfLuaNormal

* fix: change linking and add highlight for FzfLuaFilePart

* fix: linking to 'FloatTitle' for WhichKeyTitle

This works the same as the original fix, confirmed by testing
against nvim 0.10.0 and nightly.

Prefer linking over previous solution.
This commit is contained in:
Shaun Clayton 2024-07-23 17:56:40 -04:00 committed by GitHub
commit 0f5635ca8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -541,7 +541,7 @@ local function set_highlights()
WhichKeyIconYellow = { fg = palette.gold },
WhichKeyNormal = { link = "NormalFloat" },
WhichKeySeparator = { fg = palette.subtle },
WhichKeyTitle = make_border(palette.foam),
WhichKeyTitle = { link = "FloatTitle" },
WhichKeyValue = { fg = palette.rose },
-- lukas-reineke/indent-blankline.nvim
@ -667,13 +667,15 @@ local function set_highlights()
TelescopeTitle = { fg = palette.foam, bold = styles.bold },
-- ibhagwan/fzf-lua
FzfLuaNormal = { link = "NormalFloat" },
FzfLuaTitle = { fg = palette.foam, bold = styles.bold },
FzfLuaBorder = make_border(),
FzfLuaHeaderText = { fg = palette.love },
FzfLuaHeaderBind = { fg = palette.rose },
FzfLuaBufFlagCur = { fg = palette.subtle },
FzfLuaBufFlagAlt = { fg = palette.subtle },
FzfLuaBufFlagCur = { fg = palette.subtle },
FzfLuaCursorLine = { fg = palette.text, bg = palette.overlay },
FzfLuaFilePart = { fg = palette.text },
FzfLuaHeaderBind = { fg = palette.rose },
FzfLuaHeaderText = { fg = palette.love },
FzfLuaNormal = { link = "NormalFloat" },
FzfLuaTitle = { link = "FloatTitle" },
-- rcarriga/nvim-notify
NotifyDEBUGBorder = make_border(),