j-morano / buffer_manager.nvim

A simple plugin to easily manage Neovim buffers.
MIT License
241 stars 12 forks source link

[feature request] Sync buffer_manager.nvim with bufferline.nvim #21

Closed haru02w closed 1 year ago

haru02w commented 1 year ago

Would be really cool to sync the ordering of buffers between these two plugins.

j-morano commented 1 year ago

Hello. Thanks for the idea. I personally am not interested, as I don't use that plugin. However, since bufferline.nvim is a popular plugin, I will look at its code to see how complicated it is to implement this feature.

Whether it is possible or not will depend on where the plugin stores the buffers. If that information is accessible from external code, it could be done. In principle, it seems so (bufferline/commands.lua). When I have more time I will look at it in more detail.

j-morano commented 1 year ago

Hello again. I had time to look at the implementation of bufferline.nvim, and I was wrong. It is not possible to access that data from another plugin. Therefore, I cannot implement this feature. Sorry. I will close the issue as not planed. Thanks anyway for the feedback, and please feel free to open other issue if you have any other feature requests. Regards!