You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, great plugin, I really love nvim-cmp.
So, I tried to enable completion for multiple buffers with:
get_bufnrs=function() returnvim.api.nvim_list_bufs() end
Didn't work. Or rather, was weirdly buggy and sometimes worked, sometimes didn't. Long story short, the mechanism for indexing files doesn't work unless set hidden is set. I spent a few hours debugging until I figured out why the source get buffers with no words in them.
I appreciate that making it work for set nohidden will add a lot of complexity, and that maybe set hidden is a better default. May I suggest it's at least added to the README that is required for the plugin to function?
The text was updated successfully, but these errors were encountered:
First of all, great plugin, I really love
nvim-cmp
.So, I tried to enable completion for multiple buffers with:
Didn't work. Or rather, was weirdly buggy and sometimes worked, sometimes didn't. Long story short, the mechanism for indexing files doesn't work unless
set hidden
is set. I spent a few hours debugging until I figured out why the source get buffers with no words in them.I appreciate that making it work for
set nohidden
will add a lot of complexity, and that maybeset hidden
is a better default. May I suggest it's at least added to the README that is required for the plugin to function?The text was updated successfully, but these errors were encountered: