From bc19e5cf996542777c5d2a003823249a20ed43ef Mon Sep 17 00:00:00 2001 From: Damjan 9000 Date: Sat, 20 Apr 2024 19:14:49 +0200 Subject: Add a commented out example of the classic complete keymaps. Fixes #866 (#868) --- nvim/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nvim/init.lua') diff --git a/nvim/init.lua b/nvim/init.lua index 62d2c5c..3c70d73 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -720,6 +720,12 @@ require('lazy').setup({ -- 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. -- cgit v1.2.3