-
Notifications
You must be signed in to change notification settings - Fork 441
/
blink.lua
26 lines (22 loc) · 1.03 KB
/
blink.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/Saghen/blink.cmp"
---@type tokyonight.HighlightsFn
function M.get(c, opts)
-- stylua: ignore
local ret = {
BlinkCmpDoc = { fg = c.fg, bg = c.bg_float },
BlinkCmpDocBorder = { fg = c.border_highlight, bg = c.bg_float },
BlinkCmpGhostText = { fg = c.terminal_black },
BlinkCmpKindCodeium = { fg = c.teal, bg = c.none },
BlinkCmpKindCopilot = { fg = c.teal, bg = c.none },
BlinkCmpKindDefault = { fg = c.fg_dark, bg = c.none },
BlinkCmpKindSupermaven = { fg = c.teal, bg = c.none },
BlinkCmpKindTabNine = { fg = c.teal, bg = c.none },
BlinkCmpLabel = { fg = c.fg, bg = c.none },
BlinkCmpLabelDeprecated = { fg = c.fg_gutter, bg = c.none, strikethrough = true },
BlinkCmpLabelMatch = { fg = c.blue1, bg = c.none },
}
require("tokyonight.groups.kinds").kinds(ret, "BlinkCmpKind%s")
return ret
end
return M