diff options
author | Damjan 9000 <damjan.9000@gmail.com> | 2024-04-20 19:14:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-20 13:14:49 -0400 |
commit | 2e68a2c2532d1575b717721a34efa033f4d7a88e (patch) | |
tree | 3f5c559e36c047688dd1c7615f322cb0f91bec60 | |
parent | 9f5176fc2a30fbf5f0601ba1c84a345a4943bac2 (diff) |
Add a commented out example of the classic complete keymaps. Fixes #866 (#868)
-rw-r--r-- | init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -720,6 +720,12 @@ require('lazy').setup({ -- This will expand snippets if the LSP sent a snippet. ['<C-y>'] = cmp.mapping.confirm { select = true }, + -- If you prefer more traditional completion keymaps, + -- you can uncomment the following lines + --['<CR>'] = cmp.mapping.confirm { select = true }, + --['<Tab>'] = cmp.mapping.select_next_item(), + --['<S-Tab>'] = 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. |