-
Notifications
You must be signed in to change notification settings - Fork 39
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
also search for .regal.yaml #1288
Comments
Hey, and thanks for the feedback! I don't really have a strong preference on that, so looking for a The |
The language server is using the config detection logic Though I prefer the explicit just my 2c. |
Sounds good to me!
I think we should fail with an explanation in case two config files are found, as that's almost certainly a user mistake that they'd better address than having to try and figure out why their config isn't getting loaded.
I suppose this could be passed in the initOptions or whatever the client sends? But I'd defer that until someone actually asks for that :) |
Ok yeah, the error on on conflict sounds like a better system. I can start on this later today. |
Fixes StyraInc#1288 Signed-off-by: Charlie Egan <[email protected]>
Fixes StyraInc#1288 Signed-off-by: Charlie Egan <[email protected]>
Fixes StyraInc#1288 Signed-off-by: Charlie Egan <[email protected]>
Fixes StyraInc#1288 Signed-off-by: Charlie Egan <[email protected]>
* config: Allow loading of .regal.yaml file too Fixes #1288 Signed-off-by: Charlie Egan <[email protected]> * config: Choose most specific file Signed-off-by: Charlie Egan <[email protected]> * Markdown line length lint * / -> or --------- Signed-off-by: Charlie Egan <[email protected]>
thank you! :D |
I think 1 area was missed, created #1341 |
Ouch, will look into it! |
another related issue #1342 |
as per https://docs.styra.com/regal#configuration regal looks for .regal/config.yaml
... but I don't really want a whole folder for just 1 file, and rather have another dot-file in the base of the repo as so many other tools do
The text was updated successfully, but these errors were encountered: