Closed ranebrown closed 3 years ago
You should specify the mapping mode. Please read the nvim-cmp's README.md
["<C-n>"] = cmp.mapping(function()
if cmp.visible() then
cmp.select_next_item()
else
cmp.complete()
end
end, { 'i', 'c' }),
Thanks, didn't catch those updates.
Using the below mappings and cmdline setup it is not possible to select entries that appear using C-n or C-p. I'm guessing this is because of the
c_CTRL-N
andc_CTRL-P
mappings. Also using this which might be relevantset wildmode=longest:full,full
. Any suggestions on a workaround?