natecraddock / workspaces.nvim

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

[feature request]: export load_workspaces function #1

Closed rafcamlet closed 2 years ago

rafcamlet commented 2 years ago

Hi! Nice plugin :+1:

Could you make load_workspaces function public or add to api something similar like get_workspaces? I started using this as section in https://github.com/sidebar-nvim/sidebar.nvim but I had to replicate that function as there is no way to get list of workspaces. Only print them. :)

rafcamlet commented 2 years ago

Sorry. I'm blind. :) But in my defence it was not mentioned in the readme.

natecraddock commented 2 years ago

No worries! I forgot to add it to the readme. It is in the workspaces.txt doc though :)

natecraddock commented 2 years ago

Added to readme!