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

fix(log): Use stdpath('log') #607

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZeroKnight
Copy link

@ZeroKnight ZeroKnight commented Jul 22, 2024

Neovim has had a standard path for log files since v0.7.0-322-g78a1e6bc0 (note this is after v0.7.2; the git describe output is a touch misleading), so this should be the preferred location. Logs aren't cache data, so they shouldn't be stored with cache data.

Given that plenary is used in a lot of plugins, this would be a tiny but free improvement in correctness for many plugins out there.

Related: #93, #487.

Fun fact: #93 was merged just 6 months before stdpath('log') landed!

Neovim has had a standard path for log files since `v0.7.0-322-g78a1e6bc0`, so this should be the preferred location. Logs aren't cache data, so they shouldn't be stored with cache data.

Given that plenary is used in a lot of plugins, this would be a tiny but free improvement in correctness for those plugins.
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.

1 participant