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

Check if buf is valid in set_buf_var. #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yyk
Copy link

@yyk yyk commented Aug 22, 2022

Since this function is deferred, it is possible that the buffer has already been closed by the time this deferred function is called.
For example, if mapping ESC to close action in Telescope, the telescope buffer is closed immediately after leaving insert mode, before the auto-save event triggered by InsertLeave.

@primeapple
Copy link

primeapple commented Sep 1, 2022

What is holding this back from being merged @pocco81 ?

@primeapple
Copy link

This is in, can be closed

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

2 participants