m4xshen / hardtime.nvim

Establish good command workflow and quit bad habit
MIT License
1.35k stars 27 forks source link

Question: Location of `hardtime.nvim.log` #70

Closed reyniersbram closed 8 months ago

reyniersbram commented 8 months ago

Hi, this isn't really a bug, but rather a quality of life remark.

The log file is currently stored under ~/.cache/nvim/, so when I clear my cache, I lose this report. According to the XDG Base Directory Specification, the advised place for log files is $XDG_STATE_HOME, often set to ~/.local/state/.

Would it be possible to move the log file to this directory, of create an option to choose the location for it? Or is there a reason it is stored under .cache?