Compare commits
3 Commits
446226f016
...
29cd1e771b
Author | SHA1 | Date | |
---|---|---|---|
29cd1e771b | |||
7ca043bf5f | |||
4403c8c140 |
@ -53,7 +53,7 @@ return {
|
|||||||
["<CR>"] = {
|
["<CR>"] = {
|
||||||
function(cmp)
|
function(cmp)
|
||||||
if vim.api.nvim_get_mode().mode:lower() == "c" then
|
if vim.api.nvim_get_mode().mode:lower() == "c" then
|
||||||
return cmp.select_and_accept({
|
return cmp.accept({
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.api.nvim_feedkeys(
|
vim.api.nvim_feedkeys(
|
||||||
vim.api.nvim_replace_termcodes("<CR>", true, true, true),
|
vim.api.nvim_replace_termcodes("<CR>", true, true, true),
|
||||||
|
Loading…
Reference in New Issue
Block a user