From 68b3193635f332d1a78993cf9a4f9711d7a3981f Mon Sep 17 00:00:00 2001 From: Aotrix Date: Thu, 27 Feb 2025 22:08:18 +0100 Subject: removed transparency --- lua/aotrix/plugins/nvim_cmp.lua | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'lua/aotrix/plugins/nvim_cmp.lua') diff --git a/lua/aotrix/plugins/nvim_cmp.lua b/lua/aotrix/plugins/nvim_cmp.lua index 09bd142..a9fc176 100644 --- a/lua/aotrix/plugins/nvim_cmp.lua +++ b/lua/aotrix/plugins/nvim_cmp.lua @@ -64,23 +64,11 @@ return { -- Autocompletion -- This will expand snippets if the LSP sent a snippet. [''] = cmp.mapping.confirm {select = true}, - -- If you prefer more traditional completion keymaps, - -- you can uncomment the following lines - -- [''] = cmp.mapping.confirm { select = true }, - -- [''] = cmp.mapping.select_next_item(), - -- [''] = cmp.mapping.select_prev_item(), - -- Manually trigger a completion from nvim-cmp. -- Generally you don't need this, because nvim-cmp will display -- completions whenever it has completion options available. [''] = cmp.mapping.complete {}, - -- Think of as moving to the right of your snippet expansion. - -- So if you have a snippet that's like: - -- function $name($args) - -- $body - -- end - -- -- will move you to the right of each of the expansion locations. -- is similar, except moving you backwards. [''] = cmp.mapping(function() @@ -93,13 +81,14 @@ return { -- Autocompletion luasnip.jump(-1) end end, {'i', 's'}) - - -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see: - -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps }, sources = { {name = 'nvim_lsp'}, {name = 'luasnip'}, {name = 'path'}, {name = 'nvim_lsp_signature_help'} + }, + window = { + completion = cmp.config.window.bordered(), + documentation = cmp.config.window.bordered() } } end -- cgit v1.2.3