try ctrl-y for confirming snippets
This commit is contained in:
parent
ca7d20c413
commit
24f6b87e6b
1 changed files with 1 additions and 1 deletions
|
|
@ -728,7 +728,7 @@ require("lazy").setup({
|
||||||
-- Accept ([y]es) the completion.
|
-- Accept ([y]es) the completion.
|
||||||
-- This will auto-import if your LSP supports it.
|
-- This will auto-import if your LSP supports it.
|
||||||
-- This will expand snippets if the LSP sent a snippet.
|
-- This will expand snippets if the LSP sent a snippet.
|
||||||
["<CR>"] = cmp.mapping.confirm({ cmp.ConfirmBehavior.Replace, select = true }),
|
["<C-y>"] = cmp.mapping.confirm({ cmp.ConfirmBehavior.Replace, select = true }),
|
||||||
|
|
||||||
-- Manually trigger a completion from nvim-cmp.
|
-- Manually trigger a completion from nvim-cmp.
|
||||||
-- Generally you don't need this, because nvim-cmp will display
|
-- Generally you don't need this, because nvim-cmp will display
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue