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

Use with monorepos #40

Open
snoblenet opened this issue Jul 15, 2024 · 3 comments
Open

Use with monorepos #40

snoblenet opened this issue Jul 15, 2024 · 3 comments

Comments

@snoblenet
Copy link

I have:

/traditional_repo
  file_1
/mono_repo
  file_2
  /packages
    /package
      file_3

Is it practical to configure workspaces.nvim so that:

  • file_1 belongs to traditional_repo,
  • file_2 belongs to mono_repo, and
  • file_3 belongs to package?
@natecraddock
Copy link
Owner

You could register traditional_repo mono_repo and package as separate workspaces with this plugin just fine. I'm not sure if that is what you are asking about though!

@snoblenet
Copy link
Author

It is. But related to my other issue, this is something I'd want to control manually.

Also, by default, would file_3 then belong to two workspaces? (mono_repo and package)

@natecraddock
Copy link
Owner

Yes file_3 would be in two separate workspaces. All a workspace does is allow you to set the working directory of nvim

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

2 participants