From cf3ff3ab139662064f338a36bd07c5fc3cbda7a5 Mon Sep 17 00:00:00 2001 From: A-Lamia Date: Mon, 10 Apr 2023 20:06:44 +1000 Subject: [PATCH] feat(which-key): add more hl groups and opts --- lua/astrotheme/groups/plugins/which-key.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/astrotheme/groups/plugins/which-key.lua b/lua/astrotheme/groups/plugins/which-key.lua index 1b6e760..86043e5 100644 --- a/lua/astrotheme/groups/plugins/which-key.lua +++ b/lua/astrotheme/groups/plugins/which-key.lua @@ -1,8 +1,12 @@ -local function callback() +local function callback(opts) return { - WhichKeyFloat = { fg = C.fg }, + WhichKey = { fg = C.purple }, + WhichKeyFloat = { bg = opts.floating and C.mantle or C.base }, + WhichKeyBorder = { fg = C.none }, + WhichKeySeperator = { fg = C.overlay0 }, WhichKeyDesc = { fg = C.purple }, WhichKeyGroup = { fg = C.blue }, + WhichKeyValue = { fg = C.overlay0 }, } end