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

Allow overriding core doc cache directory #125

Merged
merged 1 commit into from
Dec 31, 2018
Merged

Conversation

xeals
Copy link
Contributor

@xeals xeals commented Dec 29, 2018

The XDG Base Directory Specification aims to define single directories where all files of a similar nature are stored, rather than storing everything hidden in the home folder.

Following the specification, the location for the core docs should be at $XDG_CACHE_HOME/solargraph, defaulting to $HOME/.cache/solargraph. If not hard-coding the XDG directory by default (keeping in mind non-Linux users), it would be good to be able to override the cache directory location if the user desires.

Of course take this with a grain of salt as I'm a primary Linux user and don't know the experience for MacOS or Windows.

@castwide castwide merged commit 90530a4 into castwide:master Dec 31, 2018
@castwide
Copy link
Owner

Looks good to me. Thanks.

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

Successfully merging this pull request may close these issues.

2 participants