From a968c3e157a680a6d9076be49233a0e3651cb573 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Sun, 1 May 2022 18:29:18 +0200 Subject: [PATCH] feat: add colors for nvim-cmp --- lua/astronomy/scheme.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lua/astronomy/scheme.lua b/lua/astronomy/scheme.lua index 23f7a24..7141464 100644 --- a/lua/astronomy/scheme.lua +++ b/lua/astronomy/scheme.lua @@ -209,6 +209,18 @@ function M.load_colors(scheme) LuaSnipFunction = { fg = scheme.magenta, bg = scheme.none, scheme.none }, LuaSnipInsert = { fg = scheme.blue, bg = scheme.none, scheme.none }, + ---------------- + -- CMP COLORS -- + ---------------- + CmpItemKindVariable = { fg = scheme.none, bg = scheme.none, scheme.none }, + CmpItemKindClass = { fg = scheme.yellow, bg = scheme.none, scheme.none }, + CmpItemKindInterface = { link = "CmpItemKindClass" }, + CmpItemKindModule = { link = "CmpItemKindClass" }, + CmpItemKindText = { fg = scheme.green, bg = scheme.none, scheme.none }, + CmpItemKindKeyword = { fg = scheme.orange, bg = scheme.none, scheme.none }, + CmpItemKindFunction = { fg = scheme.blue, bg = scheme.none, scheme.none }, + CmpItemKindMethod = { link = "CmpItemKindFunction" }, + ---------------- -- COQ COLORS -- ----------------