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

Bugs when Interacting with mbbill/undotree #248

Open
rennsax opened this issue Mar 16, 2024 · 2 comments
Open

Bugs when Interacting with mbbill/undotree #248

rennsax opened this issue Mar 16, 2024 · 2 comments

Comments

@rennsax
Copy link

rennsax commented Mar 16, 2024

Describe the bug
mbbill/undotree uses an extra buffer to show diff information like this:

image

The buffer appears on the tabufline, which is expected.

However, when the undotree is toggled down, the buffer remains:

image

When I tried to view the buffer with or mouse click, Neovim immediately crashed.

To Reproduce
Steps to reproduce the behavior:

  1. Install mbbill/undotree.
  2. Open an arbitrary file.
  3. Open undotree, then close.
  4. Press , or click to the diff buffer. Neovim immediately crashes.

Expected behavior
The buffer shouldn't appear on the tabufline after undotree is closed.

Screenshots
Above.

Desktop (please complete the following information):

  • Operating System: macOS 14.3.1
  • Terminal: iTerm2 / Neovide
  • Version of Neovim: v0.9.5

Additional context
None.

@siduck siduck transferred this issue from NvChad/NvChad Mar 16, 2024
@siduck
Copy link
Member

siduck commented Mar 16, 2024

undotree uses eventignore... its hard to track it :/

mbbill/undotree#174

@siduck
Copy link
Member

siduck commented May 18, 2024

@akinsho how do you handle such edgecases?

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

2 participants