natecraddock / workspaces.nvim

a simple plugin to manage workspace directories in neovim
MIT License
309 stars 15 forks source link

Add rename function and hook #10

Closed ryansch closed 2 years ago

ryansch commented 2 years ago

I'm adding a rename feature to https://github.com/ryansch/habitats.nvim and I needed to push some of that functionality down into workspaces.nvim.

I also added an optional state table to pass extra information into callbacks without changing the signature of existing callbacks.

natecraddock commented 2 years ago

Looks good at first glance, thanks for working on this!

I don't want to merge without testing, so I'll wait until tomorrow when I have a bit more time to test.

natecraddock commented 2 years ago

Looks good!