-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcmp.lua
executable file
·28 lines (24 loc) · 1.04 KB
/
cmp.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
27
28
local M = {}
M.url = "https://github.com/hrsh7th/nvim-cmp"
---@type nekonight.HighlightsFn
function M.get(c, opts)
-- stylua: ignore
local ret = {
CmpDocumentation = { fg = c.fg, bg = c.bg_float },
CmpDocumentationBorder = { fg = c.border_highlight, bg = c.bg_float },
CmpGhostText = { fg = c.terminal_black },
CmpItemAbbr = { fg = c.fg, bg = c.none },
CmpItemAbbrDeprecated = { fg = c.fg_gutter, bg = c.none, strikethrough = true },
CmpItemAbbrMatch = { fg = c.blue1, bg = c.none },
CmpItemAbbrMatchFuzzy = { fg = c.blue1, bg = c.none },
CmpItemKindCodeium = { fg = c.teal, bg = c.none },
CmpItemKindCopilot = { fg = c.teal, bg = c.none },
CmpItemKindSupermaven = { fg = c.teal, bg = c.none },
CmpItemKindDefault = { fg = c.fg_dark, bg = c.none },
CmpItemKindTabNine = { fg = c.teal, bg = c.none },
CmpItemMenu = { fg = c.comment, bg = c.none },
}
require("nekonight.groups.kinds").kinds(ret, "CmpItemKind%s")
return ret
end
return M