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

Duplicate windows with open_automatic = true & attach_mode = global #185

Closed
kevmuko opened this issue Nov 26, 2022 · 3 comments
Closed

Duplicate windows with open_automatic = true & attach_mode = global #185

kevmuko opened this issue Nov 26, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@kevmuko
Copy link
Contributor

kevmuko commented Nov 26, 2022

Describe the bug
If you split a window with open_automatic = true & attach_mode = global, then you end up with two Aerial windows that mirror the same content. There probably needs to be a simple check to not create another Aerial view if there's already an existing one.

System information

  • OS: [windows/linux/mac]
  • Neovim version:
  • AerialInfo: [output of :AerialInfo]
  • Aerial config:
-- Paste your call to require("aerial").setup(...) in here

To Reproduce
Steps to reproduce the behavior:
1.
2.
3.

If possible, provide a minimal file that will trigger the issue:

minimal code here

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@kevmuko kevmuko added the bug Something isn't working label Nov 26, 2022
@stevearc
Copy link
Owner

Thanks for the report! This should be fixed now

@kevmuko
Copy link
Contributor Author

kevmuko commented Dec 1, 2022

Thanks @stevearc for taking a look at this. When an unsupported buffer is open, I'm seeing that there is almost an infinite loop with the window opening and then closing.

@stevearc
Copy link
Owner

stevearc commented Dec 1, 2022

Ah, this was an unfortunate interaction with another change I made recently. That should be resolved now as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants