From e314314574aedf3e9f47e1cfb250d9cd1b5433e1 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 5 Mar 2024 23:32:20 +0000 Subject: [PATCH] Switch to to confirm completions Previous mapping of caused issues due to y being too close to u so fat fingers would immediately undo the completion expansion. --- lua/plugins/completions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/completions.lua b/lua/plugins/completions.lua index 11a6173..663ab5a 100644 --- a/lua/plugins/completions.lua +++ b/lua/plugins/completions.lua @@ -75,7 +75,7 @@ return { mapping = cmp.mapping.preset.insert({ [''] = cmp.mapping.select_prev_item(), [''] = cmp.mapping.select_next_item(), - [''] = cmp.mapping.confirm({ select = true }), + [''] = cmp.mapping.confirm({ select = true }), }), sources = { { name = 'nvim_lsp' },