Skip to content

Buffer completitons are not showing when reopening buffer #68

Description

@shauryagoel

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions