Skip to content

bug: Invalid buffer id error #556

@ngpong

Description

@ngpong

Did you check docs and existing issues?

  • I have read all the trouble.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of trouble.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

lastest

Operating system/version

linux

Describe the bug

Hey there, I've been encountering an occasional error "invalid buffer id" during usage recently. The video below demonstrates this issue. To explain the video: since this is a completely random error, it can be effectively reproduced by repeatedly opening and closing the trouble list, which is why the video shows this extreme operation method.

Regards!

2024-07-21.014732.mp4

Steps To Reproduce

see above

Expected Behavior

see above

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/trouble.nvim", opts = {} },
    -- add any other plugins here
  },
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions