From 5e0fcdb812c4ebc4865eff98770cbb97ef05e82a Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 28 Aug 2023 11:51:07 +0530 Subject: config/nvim/cmp: proper colors --- .config/nvim/init.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 410d6e1..87ce8a2 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -208,7 +208,18 @@ local kind_icons = { TypeParameter = " ", } +local cmp_colr = "Normal:Normal,FloatBorder:BorderBG,CursorLine:PmenuSel" require("cmp").setup({ + window = { + completion = { + border = "rounded", + winhighlight = cmp_colr, + }, + documentation = { + border = "rounded", + winhighlight = cmp_colr, + } + }, sources = { { name = "nvim_lsp" }, { name = "buffer" }, -- cgit v1.2.3