-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Currently, the user is required to list the workspaces in a global variable. Because it has to be done before the plugin is loaded, hardcoding the value in init.lua or similar becomes the most natural approach. It becomes a problem for those who want to make the (neo)vim setup reproducible or public (I don't always want to show which projects I have or have my setup break when I init it on a different machine). I guess it's possible to hide this with shada or loading from a file that is excluded from git, but it does not feel like the intended solution.
Perhaps it would be a better approach to store it in ~/.local/state so that it's local per machine? If coupled with a simple way to query whether :pwd is in the workspace list, it could be integrated in lualine or similar.