ui
ui copied to clipboard
Bugs when Interacting with mbbill/undotree
Describe the bug mbbill/undotree uses an extra buffer to show diff information like this:
The buffer appears on the tabufline, which is expected.
However, when the undotree is toggled down, the buffer remains:
When I tried to view the buffer with <Tab> or mouse click, Neovim immediately crashed.
To Reproduce Steps to reproduce the behavior:
- Install mbbill/undotree.
- Open an arbitrary file.
- Open undotree, then close.
- Press <Tab>, 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.
undotree uses eventignore... its hard to track it :/
https://github.com/mbbill/undotree/issues/174
@akinsho how do you handle such edgecases?