From 0f5635ca8cfe94c23ae05148c205eeb24b1c05f6 Mon Sep 17 00:00:00 2001 From: Shaun Clayton Date: Tue, 23 Jul 2024 17:56:40 -0400 Subject: [PATCH] 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. --- lua/rose-pine.lua | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index 57c0eab..a79d08b 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -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(),