From 083b6baa9b90ea3bfad36e4518bc31cca6abcc29 Mon Sep 17 00:00:00 2001 From: Daniele Pintore Date: Mon, 27 Apr 2026 12:09:52 +0200 Subject: [PATCH] feat(nvim): use default bindings for lsp complete --- .config/nvim/lua/plugins/lsp.lua | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index d0d87d3..238c860 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -72,17 +72,17 @@ return { vim.keymap.set('n', 'f', function() vim.lsp.buf.format { async = true } end, opts) vim.keymap.set('n', 'e', vim.diagnostic.open_float, opts) - vim.keymap.set('i', '', function() - return vim.fn.pumvisible() ~= 0 and '' or '' - end, { expr = true, buffer = ev.buf }) - - vim.keymap.set('i', '', function() - return vim.fn.pumvisible() ~= 0 and '' or '' - end, { expr = true, buffer = ev.buf }) - - vim.keymap.set('i', '', function() - return vim.fn.pumvisible() ~= 0 and '' or '' - end, { expr = true, buffer = ev.buf }) +-- vim.keymap.set('i', '', function() +-- return vim.fn.pumvisible() ~= 0 and '' or '' +-- end, { expr = true, buffer = ev.buf }) +-- +-- vim.keymap.set('i', '', function() +-- return vim.fn.pumvisible() ~= 0 and '' or '' +-- end, { expr = true, buffer = ev.buf }) +-- +-- vim.keymap.set('i', '', function() +-- return vim.fn.pumvisible() ~= 0 and '' or '' +-- end, { expr = true, buffer = ev.buf }) vim.keymap.set('i', '', function() vim.api.nvim_feedkeys(