diff options
author | aktersnurra <gustaf.rydholm@gmail.com> | 2022-07-29 17:51:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 17:51:29 +0200 |
commit | 85d7d7de20b6330528c5b7c0243c3afcc5266711 (patch) | |
tree | 5731a5f2c934fe2da5b79aef24f708590af67ae0 /lua/no-clown-fiesta/nvim-cmp.lua | |
parent | da502c2571b710791b29c82a77cbe577791b14df (diff) |
Update configuration api (#5)
* Refactor
* Fix opts
* Fix plugin typos
* Update readme
Diffstat (limited to 'lua/no-clown-fiesta/nvim-cmp.lua')
-rw-r--r-- | lua/no-clown-fiesta/nvim-cmp.lua | 14 |
1 files changed, 14 insertions, 0 deletions
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 |