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

Global configuration support #197

Closed
taylorthurlow opened this issue Jun 21, 2019 · 4 comments
Closed

Global configuration support #197

taylorthurlow opened this issue Jun 21, 2019 · 4 comments

Comments

@taylorthurlow
Copy link

Is there any chance we could get support for a global config at ~/.config/solargraph/config.yml or something similar? Overridden by the project configuration obviously.

@castwide
Copy link
Owner

Good idea. I'll add it to the roadmap.

I might not get to this for a while, so if anyone wants to submit a PR, just let me know and I'll assign it. I don't expect it to be too difficult, but my plate is crazy full.

@castwide
Copy link
Owner

This is released in v0.35.0. The default location for the global config is ~/.config/solargraph/config.yml, and it can be changed with the SOLARGRAPH_GLOBAL_CONFIG environment variable.

@nomasprime
Copy link

nomasprime commented Sep 7, 2020

@castwide great, thanks.

Looks like defaults overwrite built-in defaults. What's the best way of finding out built-in defaults, is it this?

@castwide
Copy link
Owner

castwide commented Sep 8, 2020

@nomasprime Yes, when you use solargraph config to generate the file, it starts with everything set to the built-in defaults.

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

No branches or pull requests

3 participants