summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-08-28 11:51:07 +0530
committersinanmohd <sinan@firemail.cc>2023-08-28 12:17:57 +0530
commit5e0fcdb812c4ebc4865eff98770cbb97ef05e82a (patch)
tree32a378cce8713378bf4758dc3d31e58a4f563827
parente5ec96f86568c5641c03c9869d1e6d3930435f8d (diff)
config/nvim/cmp: proper colors
-rw-r--r--.config/nvim/init.lua11
1 files changed, 11 insertions, 0 deletions
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" },