Completing words from different sources Ctrl-N #2014
Unanswered
chiefjester
asked this question in
Q&A
Replies: 1 comment
-
You con show suggestion from all buffers with cmp.setup({
sources = {
{
name = 'buffer',
option = {
get_bufnrs = function()
return vim.api.nvim_list_bufs()
end
},
},
},
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if I should file a bug, it seems that using Ctrl-N/Ctrl-P only suggest current buffer, but not other.
I tried to use Ctrl-X / Ctrl-L so it does read other buffer, how can I disable cmp from using Ctrl-N and Ctrl-P?
Beta Was this translation helpful? Give feedback.
All reactions