summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" },