From fe5f4e11f72908ce3b528397757540ea9ec22823 Mon Sep 17 00:00:00 2001 From: Shaun Clayton Date: Mon, 15 Jul 2024 11:21:08 -0400 Subject: [PATCH] chore: update highlights for which-key.nvim (#287) * chore: update highlights for which-key.nvim * fix: revert placement of WhichKeyFloat hl group * feat: add additional highlight groups for icons in which-key * Revert "feat: add additional highlight groups for icons in which-key" Need to come up with a different solution. This reverts commit 18d70420a2a0ff9fa70a0ca88b84b147ff494a39. * fix: use explicit fg and bg for WhichKeyTitle * Revert "fix: use explicit fg and bg for WhichKeyTitle" Breaks extend_background_behind_borders again... Oops This reverts commit 1389556a198e88fd763f772dec4f4c95bf08ec1c. --- lua/rose-pine.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index 0aa5c78..fbc5445 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -519,10 +519,13 @@ local function set_highlights() -- folke/which-key.nvim WhichKey = { fg = palette.iris }, + WhichKeyBorder = make_border(), WhichKeyDesc = { fg = palette.gold }, WhichKeyFloat = { bg = groups.panel }, WhichKeyGroup = { fg = palette.foam }, + WhichKeyNormal = { link = "NormalFloat" }, WhichKeySeparator = { fg = palette.subtle }, + WhichKeyTitle = make_border(palette.foam), WhichKeyValue = { fg = palette.rose }, -- lukas-reineke/indent-blankline.nvim @@ -920,6 +923,7 @@ local function set_highlights() TelescopeSelectionCaret = { fg = palette.rose }, WhichKeyFloat = { bg = "NONE" }, + WhichKeyNormal = { bg = "NONE" }, IblIndent = { fg = palette.overlay, bg = "NONE" }, IblScope = { fg = palette.foam, bg = "NONE" },