Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Conditionally register source based on root_dir #517

Answered by jose-elias-alvarez
hassec asked this question in Q&A
Discussion options

You must be logged in to vote

I was thinking about cases like this. I think the right thing to do is to check whether conditional sources should register when first entering a named buffer (not on first run). We'd still have project context and it would solve cases like yours, since the source would never get registered in the first place. I'll see if I can put something together.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jose-elias-alvarez
Comment options

@hassec
Comment options

Answer selected by jose-elias-alvarez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants