nvim-tree / nvim-tree.lua

A file explorer tree for neovim written in lua
Other
6.94k stars 603 forks source link

Multi Instance: Refactor: nvim-tree.explorer.sorters #2829

Closed alex-courtis closed 1 month ago

alex-courtis commented 1 month ago

nvim-tree.explorer.sorters is a stateful singleton. Make it an instantiable class owned by Explorer.

All usages must go through the TreeExplorer singleton.

raaymax commented 1 month ago

https://github.com/nvim-tree/nvim-tree.lua/pull/2835