From 85d7d7de20b6330528c5b7c0243c3afcc5266711 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Fri, 29 Jul 2022 17:51:29 +0200 Subject: Update configuration api (#5) * Refactor * Fix opts * Fix plugin typos * Update readme --- lua/no-clown-fiesta/nvim-cmp.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lua/no-clown-fiesta/nvim-cmp.lua (limited to 'lua/no-clown-fiesta/nvim-cmp.lua') diff --git a/lua/no-clown-fiesta/nvim-cmp.lua b/lua/no-clown-fiesta/nvim-cmp.lua new file mode 100644 index 0000000..c2abfb6 --- /dev/null +++ b/lua/no-clown-fiesta/nvim-cmp.lua @@ -0,0 +1,14 @@ +local M = {} + +function M.highlight(palette) + return { + CmpItemAbbr = { fg = palette.fg }, + CmpItemAbbrDeprecated = { fg = palette.orange }, + CmpItemAbbrMatch = { fg = palette.info_yellow }, + CmpItemAbbrMatchFuzzy = { fg = palette.info_yellow }, + CmpItemMenu = { fg = palette.medium_gray }, + CmpItemKind = { fg = palette.light_gray }, + } +end + +return M -- cgit v1.2.3-70-g09d2