onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.35k stars 299 forks source link

Tab opens after open dir in :Vex navigation #986

Open daynin opened 6 years ago

daynin commented 6 years ago

2017-11-19-1405-g51hnw4kc0

When we open any dir in :Vex navigation tab, new tab opens and then we can close it by click on tab's name, not tab's close button.

allyraza commented 6 years ago

also when you try and delete a buffer the tab anchor does not go away

bryphe commented 6 years ago

Thanks for logging the issue @daynin - appreciate the animated gif! I'm able to reproduce this.

Yes, it seems like we aren't refreshing our list of buffers correctly in this case. The ones that are No Name at the top don't show up in :ls, and so shouldn't be persisted via Oni either. I believe the root issue is similar to the one impacting #852 - that Oni's view of the buffers is out of sync with Neovim's.