diff options
Diffstat (limited to 'dotfiles')
| -rw-r--r-- | dotfiles/nvim/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/nvim/init.lua b/dotfiles/nvim/init.lua index 173f214..cd690d6 100644 --- a/dotfiles/nvim/init.lua +++ b/dotfiles/nvim/init.lua @@ -694,7 +694,8 @@ 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. - ['<C-y>'] = cmp.mapping.confirm { select = true }, + ['<Tab>'] = cmp.mapping.confirm { select = true }, + ['<CR>'] = cmp.mapping.confirm { select = true }, -- Manually trigger a completion from nvim-cmp. -- Generally you don't need this, because nvim-cmp will display |