-
Notifications
You must be signed in to change notification settings - Fork 441
/
scrollbar.lua
26 lines (22 loc) · 997 Bytes
/
scrollbar.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
local M = {}
M.url = "https://github.com/petertriho/nvim-scrollbar"
---@type tokyonight.HighlightsFn
function M.get(c)
-- stylua: ignore
return {
ScrollbarError = { fg = c.error, bg = c.none },
ScrollbarErrorHandle = { fg = c.error, bg = c.bg_highlight },
ScrollbarHandle = { fg = c.none, bg = c.bg_highlight },
ScrollbarHint = { fg = c.hint, bg = c.none },
ScrollbarHintHandle = { fg = c.hint, bg = c.bg_highlight },
ScrollbarInfo = { fg = c.info, bg = c.none },
ScrollbarInfoHandle = { fg = c.info, bg = c.bg_highlight },
ScrollbarMisc = { fg = c.purple, bg = c.none },
ScrollbarMiscHandle = { fg = c.purple, bg = c.bg_highlight },
ScrollbarSearch = { fg = c.orange, bg = c.none },
ScrollbarSearchHandle = { fg = c.orange, bg = c.bg_highlight },
ScrollbarWarn = { fg = c.warning, bg = c.none },
ScrollbarWarnHandle = { fg = c.warning, bg = c.bg_highlight },
}
end
return M