Skip to content
New issue

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

Buffer completitons are not showing when reopening buffer #68

Open
shauryagoel opened this issue May 29, 2023 · 0 comments
Open

Buffer completitons are not showing when reopening buffer #68

shauryagoel opened this issue May 29, 2023 · 0 comments

Comments

@shauryagoel
Copy link

My nvim-cmp source of this repo is like this-

    {
      name = 'buffer',
      option = {
        get_bufnrs = function()
          return vim.api.nvim_list_bufs()
        end
      }
    }

Say I open file A, I can see the matching words from this buffer while I am typing. Let's say I open another file B, I can see that autocompletions are working for this buffer, as well as buffer A. Now if I go to buffer of A, I can also see that words from the buffer of B are also visible. If I close buffer B using :bd, then I don't see autocompletions for buffer B when typing in buffer A. Everything is working as expected up to this point. However, when I reopen buffer B using :e#, autocompletions don't show symbols for buffer B neither in buffer A nor in buffer B.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant