We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insert
Hi,
Whatever the value for beavior otption of cmp.mapping.confirm the text under the cursor is replaced.
beavior
cmp.mapping.confirm
require'cmp'.setup { ... mapping = { ['<C-p>'] = cmp.mapping.select_prev_item({behavior = cmp.SelectBehavior.Select}), ['<C-n>'] = cmp.mapping.select_next_item({behavior = cmp.SelectBehavior.Select}), ['<CR>'] = cmp.mapping.confirm({select = false, behavior=cmp.ConfirmBehavior.Insert}), } }
This seems conform to the documentation
Thank you very much
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Whatever the value for
beavior
otption ofcmp.mapping.confirm
the text under the cursor is replaced.This seems conform to the documentation
Thank you very much
The text was updated successfully, but these errors were encountered: