-
Notifications
You must be signed in to change notification settings - Fork 14
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
cache directory is no longer relative to project root #56
Comments
Right, I also had a similar issue. A quick fix, which I have now, is to add the following hack into your init file.
|
Can you share your workaround? |
Something like this:
|
Before the very recent change (to use the new lsp API),
.cquery_cached_index
was put in the project root. Now it ends up in the directory containing the first file you edit, which is surely unintended (though will work OK if you have all source files in one directory).(The problem is presumably
cquery--get-init-params
usingdefault-directory
. I can get my expected behaviour by settingcquery-cache-dir-function
to a suitable find-project-root function.)The text was updated successfully, but these errors were encountered: