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

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Conversation

ZeroKnight
Copy link
Contributor

@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.
@Conni2461 Conni2461 merged commit e9b1d87 into nvim-lua:master Feb 11, 2025
@Conni2461
Copy link
Collaborator

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