From e05ef37a8dc61b7b07c6f859fdb8581375b02246 Mon Sep 17 00:00:00 2001 From: jl54 Date: Sat, 10 Aug 2024 01:19:19 +0200 Subject: [PATCH] use Enter to select autocomplete suggestion --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 56a131d8..522a8764 100644 --- a/init.lua +++ b/init.lua @@ -733,11 +733,11 @@ require('lazy').setup({ -- Accept ([y]es) the completion. -- This will auto-import if your LSP supports it. -- This will expand snippets if the LSP sent a snippet. - [''] = cmp.mapping.confirm { select = true }, + -- [''] = 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.confirm { select = true }, --[''] = cmp.mapping.select_next_item(), --[''] = cmp.mapping.select_prev_item(),