From 2fa45b7b2ec3ab831baae4d987bac490a95c7984 Mon Sep 17 00:00:00 2001 From: armandogaliati Date: Wed, 5 Jun 2024 10:57:38 -0300 Subject: [PATCH] changed pop up borders --- init.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 5857cec3..f09f810f 100644 --- a/init.lua +++ b/init.lua @@ -154,8 +154,6 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 --- popup menu color -vim.opt.pumblend = 50 -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` @@ -666,6 +664,7 @@ require('lazy').setup({ { -- Autocompletion 'hrsh7th/nvim-cmp', + event = 'InsertEnter', dependencies = { -- Snippet Engine & its associated nvim-cmp source @@ -713,7 +712,16 @@ require('lazy').setup({ end, }, completion = { completeopt = 'menu,menuone,noinsert' }, + window = { + completion = cmp.config.window.bordered(), + documentation = cmp.config.window.bordered(), + }, + view = { + docs = { + auto_open = true, + }, + }, -- For an understanding of why these mappings were -- chosen, you will need to read `:help ins-completion` --