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

fix(buffer.c): delete current buffer when bufhidden=delete is set #28496

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

BenjaminEstell
Copy link

Bugfix targeting #27508.
Previously, when a new buffer was created that replaced the current buffer, and bufhidden was set to 'delete', the current buffer would not be deleted when hidden.
Solution: nvim now checks the bufhidden option and frees the current buffer if bufhidden=delete.

@BenjaminEstell BenjaminEstell marked this pull request as ready for review April 25, 2024 19:47
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

Successfully merging this pull request may close these issues.

None yet

1 participant