Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically adding a directory as a project if it contains an item from a glob list? #127

Open
MostHated opened this issue Feb 19, 2023 · 0 comments

Comments

@MostHated
Copy link

MostHated commented Feb 19, 2023

Hey there,
I was using a different project manager, which was just called 'projects', but I was getting annoyed that each time I selected a project, I could not change the behavior upon to load it. One thing though that I really did like was I could add filenames/extensions into a glob list which was used to determine what the "project root" was. If I entered a directory that contained something in the list, it would auto-add it to the list of projects, so I added '.project.nvim' into the list, and then any directory I wanted to count as a project, I just created a file of that name at the root. Then when selecting it, wherever that file was, was made the CWD whenever I opened the file manager.

Does any functionality currently exist in this extension that would allow for this type of behavior, or would I have to try and do some custom stuff on my end to do this?

Thanks,
-MH


Edit: I currently have something worked out by mixing the two project plugins, but would still be nice to know if I can accomplish it in just this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant