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

Use a better check for existence of the NERDTree buffer. #814

Merged
merged 2 commits into from
Mar 6, 2018

Conversation

PhilRunninger
Copy link
Member

@PhilRunninger PhilRunninger commented Mar 6, 2018

Fixes #813.

If the user wipes out or deletes (:bw or :bd) the NERDTree buffer, there
is still a tab variable that hangs onto the name of that now-missing
buffer. Checking only that variable is not enough to decide whether to
create a new NERDTree or use the existing one. Fortunately, there
already is a function with a more complete check: ExistsForTab()

If the user wipes out or deletes (:bw or :bd) the NERDTree buffer, there
is still a tab variable that hangs onto the name of that now-missing
buffer. Checking only that variable is not enough to decide whether to
create a new NERDTree or use the existing one. Fortunately, there
already is a function with a more complete check: ExistsForTab()
@PhilRunninger PhilRunninger merged commit f6987b7 into master Mar 6, 2018
@PhilRunninger PhilRunninger deleted the 813-bwipeout_NERDTree_buffer branch March 6, 2018 16:28
This was referenced Apr 25, 2018
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.

1 participant