Change lsp confirm key to <cr>

This commit is contained in:
Max 2024-04-05 18:28:46 +00:00
parent 9c613ad0ab
commit bb3d6b9bfb
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ 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 },
['<cr>'] = cmp.mapping.confirm { select = true },
-- Manually trigger a completion from nvim-cmp.
-- Generally you don't need this, because nvim-cmp will display