-
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathcmp.lua
More file actions
30 lines (28 loc) 路 1009 Bytes
/
Copy pathcmp.lua
File metadata and controls
30 lines (28 loc) 路 1009 Bytes
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
29
30
local M = {}
--- Get extension configuration
--- @param opts cyberdream.Config
--- @param t cyberdream.Palette
function M.get(opts, t)
opts = opts or {}
local highlights = {
CmpDocumentation = { fg = t.grey },
CmpDocumentationBorder = { fg = t.grey },
CmpGhostText = { fg = t.grey },
CmpItemAbbr = { fg = t.fg },
CmpItemAbbrDeprecated = { fg = t.grey, strikethrough = true },
CmpItemAbbrMatch = { fg = t.purple },
CmpItemAbbrMatchFuzzy = { fg = t.purple },
CmpItemKindVariable = { fg = t.cyan },
CmpItemKindInterface = { fg = t.cyan },
CmpItemKindText = { fg = t.cyan },
CmpItemKindFunction = { fg = t.pink },
CmpItemKindMethod = { fg = t.pink },
CmpItemKindKeyword = { fg = t.fg },
CmpItemKindProperty = { fg = t.fg },
CmpItemKindUnit = { fg = t.fg },
CmpItemMenu = { fg = t.grey },
CmpItemKindDefault = { fg = t.grey },
}
return highlights
end
return M