From 6c329a8649bedd371e410970e830112336b3d13d Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Wed, 25 Jan 2023 12:00:14 -0800 Subject: [PATCH] Nothing more annoying than completing instead of going to newline --- nix/home/programs/nvim/nvim-cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/home/programs/nvim/nvim-cmp.lua b/nix/home/programs/nvim/nvim-cmp.lua index b67113d..cceaa2c 100644 --- a/nix/home/programs/nvim/nvim-cmp.lua +++ b/nix/home/programs/nvim/nvim-cmp.lua @@ -19,7 +19,7 @@ cmp.setup({ [''] = cmp.mapping.scroll_docs(4), [''] = cmp.mapping.complete(), [''] = cmp.mapping.abort(), - [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + [''] = cmp.mapping.confirm({ select = false }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. }), sources = cmp.config.sources({ { name = 'nvim_lsp' },