Skip to content

Commit

Permalink
fix(extensions): add missing whichkey highlights
Browse files Browse the repository at this point in the history
related #147
  • Loading branch information
scottmckendry committed Nov 25, 2024
1 parent f94b960 commit 534527b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion lua/cyberdream/extensions/whichkey.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
local M = {}
local util = require("cyberdream.util")

--- Get extension configuration
--- @param opts Config
Expand All @@ -7,11 +8,25 @@ function M.get(opts, t)
opts = opts or {}
local highlights = {
WhichKey = { fg = t.cyan },
WhichKeyNormal = { link = "NormalFloat" },
WhichKeyBorder = { link = "FloatBorder" },
WhichKeyTitle = { link = "FloatTitle" },
WhichKeyGroup = { fg = t.blue },
WhichKeyDesc = { fg = t.pink },
WhichKeySeperator = { fg = t.bg },
WhichKeySeperator = { fg = t.grey },
WhichKeyFloat = { bg = t.bg },
WhichKeyValue = { fg = t.blue },

WhichKeyIcon = { fg = t.blue },
WhichKeyIconAzure = { fg = util.blend(t.cyan, t.fg, 0.3) },
WhichKeyIconBlue = { fg = t.blue },
WhickKeyIconCyan = { fg = t.cyan },
WhichKeyIconGreen = { fg = t.green },
WhichKeyIconGrey = { fg = t.grey },
WhichKeyIconOrange = { fg = t.orange },
WhichKeyIconPurple = { fg = t.purple },
WhichKeyIconRed = { fg = t.red },
WhichKeyIconYellow = { fg = t.yellow },
}

return highlights
Expand Down

0 comments on commit 534527b

Please sign in to comment.