Skip to content

BufLeave and BufEnter event not getting triggered when re-entering the same buffer from NERDTree #588

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
kshenoy opened this issue Jun 2, 2016 · 1 comment · Fixed by #1026
Assignees

Comments

@kshenoy
Copy link

kshenoy commented Jun 2, 2016

As described here, if I open NERDTree and go back to the same file by pressing <CR> in NERDTree, it doesn't trigger the BufLeave and BufEnter autocmds.

Is this intentional?

@lifecrisis
Copy link
Contributor

Previously, this kind of thing was necessary. However, I'm not able to come up with a general rule for when or why it was needed.

For this particular operation, we can fix this, but it will require some care and review to get it right.

I'll assign myself to this and get to it when I can.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants