m4xshen / hardtime.nvim

Establish good command workflow and quit bad habit
MIT License
1.38k stars 26 forks source link

Report seems to be a bit off #32

Closed AndreiDumitran closed 1 year ago

AndreiDumitran commented 1 year ago

Describe the bug When running the report to see what should I improve, all the messages seem to be cutting the first 3 characters.

Config options Default

To Reproduce Steps to reproduce the behavior:

  1. run :Hardtime report

Expected behavior The report should display correctly the suggestions.

Screenshots

image

Additional context I am using LazyVim if matters.

m4xshen commented 1 year ago

Could you provide your ~/.cache/nvim/hardtime.nvim.log? It's the place where report messages are stored.

AndreiDumitran commented 1 year ago

Absolutely:

[INFO  Mon Aug 21 10:54:11 2023] You pressed the h key too soon!
[INFO  Mon Aug 21 10:54:16 2023] Use cw instead of dwi
[INFO  Mon Aug 21 10:54:24 2023] Use cw instead of dwi
[INFO  Mon Aug 21 10:57:57 2023] Use "_db instead of vb"_d
[INFO  Mon Aug 21 11:00:25 2023] You pressed the h key too soon!
[INFO  Mon Aug 21 11:00:46 2023] You pressed the h key too soon!
[INFO  Mon Aug 21 11:00:59 2023] Use cw instead of dwi
[INFO  Mon Aug 21 11:01:03 2023] Use cw instead of dwi
[INFO  Mon Aug 21 11:01:14 2023] Use cw instead of dwi
[INFO  Mon Aug 21 11:01:27 2023] Use db instead of vbd
[INFO  Mon Aug 21 11:01:54 2023] You pressed the h key too soon!
[INFO  Mon Aug 21 11:04:13 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 11:05:46 2023] Use O instead of ko
[INFO  Mon Aug 21 11:07:14 2023] Use a instead of li
[INFO  Mon Aug 21 11:07:42 2023] Use a instead of li
[INFO  Mon Aug 21 11:07:49 2023] You pressed the h key too soon!
[INFO  Mon Aug 21 11:07:51 2023] You pressed the h key too soon!
[INFO  Mon Aug 21 11:08:28 2023] Use cw instead of dwi
[INFO  Mon Aug 21 11:09:47 2023] Use cw instead of dwi
[INFO  Mon Aug 21 11:10:39 2023] Use O instead of ko
[INFO  Mon Aug 21 11:11:07 2023] Use cw instead of dwi
[INFO  Mon Aug 21 11:11:54 2023] Use O instead of ko
[INFO  Mon Aug 21 11:12:06 2023] Use cw instead of dwi
[INFO  Mon Aug 21 11:15:31 2023] Use cit instead of diti
[INFO  Mon Aug 21 11:15:33 2023] Use a instead of li
[INFO  Mon Aug 21 11:56:49 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 11:57:10 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 11:58:48 2023] Use O instead of ko
[INFO  Mon Aug 21 11:58:53 2023] Use O instead of ko
[INFO  Mon Aug 21 12:06:11 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 12:06:13 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 12:06:14 2023] Use O instead of ko
[INFO  Mon Aug 21 12:06:24 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 12:06:56 2023] Use O instead of ko
[INFO  Mon Aug 21 12:07:14 2023] Use db instead of vbd
[INFO  Mon Aug 21 12:07:26 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 12:07:28 2023] Use cw instead of dwi
[INFO  Mon Aug 21 12:07:34 2023] Use O instead of ko
[INFO  Mon Aug 21 12:13:00 2023] Use O instead of ko
[INFO  Mon Aug 21 12:13:09 2023] Use O instead of ko
[INFO  Mon Aug 21 12:17:33 2023] Use d3j instead of V3jd
[INFO  Mon Aug 21 12:18:28 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 12:18:31 2023] Use cw instead of dwi
[INFO  Mon Aug 21 12:19:09 2023] Use cw instead of dwi
[INFO  Mon Aug 21 12:23:01 2023] Use O instead of ko
[INFO  Mon Aug 21 12:25:41 2023] Use a instead of li
[INFO  Mon Aug 21 12:26:02 2023] Use a instead of li
[INFO  Mon Aug 21 12:29:18 2023] Use db instead of vbd
[INFO  Mon Aug 21 12:45:54 2023] Use cw instead of dwi
[INFO  Mon Aug 21 12:47:36 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 12:47:39 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 12:47:39 2023] You pressed the h key too soon!
[INFO  Mon Aug 21 12:47:39 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 12:47:39 2023] You pressed the h key too soon!
[INFO  Mon Aug 21 12:47:39 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 12:47:39 2023] You pressed the h key too soon!
[INFO  Mon Aug 21 12:47:47 2023] You pressed the l key too soon!
[INFO  Mon Aug 21 13:06:53 2023] Use cw instead of dwi
[INFO  Mon Aug 21 13:07:11 2023] Use O instead of ko
m4xshen commented 1 year ago

The report should be fine now. Thanks for the feedback!

keevan commented 1 year ago

Just hit this, thanks for resolving it in the update @m4xshen :)