GnikDroy / projections.nvim

A map to your filesystem
GNU General Public License v3.0
236 stars 8 forks source link

Hi, I'm trying to integrate your plugin with another one. I need to know some info. #3

Closed nyngwang closed 1 year ago

nyngwang commented 1 year ago

As title. I need to know:

  1. How to get all paths/names of currently stored workspaces?
  2. How to get all paths of currently stored projects? Need to do things like cwd.

and if you provide more API on related info regarding workspaces/projects please let me know, too.

Thanks!

nyngwang commented 1 year ago

Oops, I think I just found it: https://github.com/GnikDroy/projections.nvim/blob/main/lua/telescope/_extensions/projections.lua, will close this myself when I finish the integration.

update: Now I can get projects from a workspace, but how to get the path of each project?

nyngwang commented 1 year ago

Great, it's working :) Closing and will let you know when I finish uploading.