-
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathhop.lua
More file actions
22 lines (21 loc) 路 732 Bytes
/
Copy pathhop.lua
File metadata and controls
22 lines (21 loc) 路 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local M = {}
local util = require("cyberdream.util")
--- Get extension configuration
--- @param opts cyberdream.Config
--- @param t cyberdream.Palette
function M.get(opts, t)
opts = opts or {}
local highlights = {
HopNextKey = { fg = t.magenta, bg = util.blend(t.bg_solid, t.magenta, 0.85), bold = true },
HopNextKey1 = { fg = t.cyan, bg = util.blend(t.bg_solid, t.cyan, 0.85), bold = true },
HopNextKey2 = {
fg = util.blend(t.cyan, t.bg_solid, 0.7),
bg = util.blend(t.bg_solid, t.cyan, 0.9),
bold = true,
},
HopUnmatched = { fg = t.bg_highlight },
HopPreview = { fg = t.fg, bg = t.bg_highlight },
}
return highlights
end
return M