blamer.nvim icon indicating copy to clipboard operation
blamer.nvim copied to clipboard

Relative time showing `a while ago` on lines with uncommitted changes

Open jesseleite opened this issue 2 years ago • 4 comments

When using let g:blamer_relative_time = 1 on lines with uncommitted changes, it shows a while ago, which isn't true since I just added these lines now 🙂

image

jesseleite avatar Jul 15 '21 03:07 jesseleite

I think this is in fact a duplicate of #40. What you are seeing is the message for the line that was there before, because you haven't written the buffer (:w) to disk yet.

lindhe avatar Sep 27 '21 16:09 lindhe

@lindhe It definitely happens after writing to disk with :w.

jesseleite avatar Sep 27 '21 18:09 jesseleite

Hello. We show a while ago or the current timestamp when we don't know the elapsed time in uncommitted changes. I understand that this could be misleading so I will remove the timestamp.

georgesofianosgr avatar Nov 06 '21 07:11 georgesofianosgr

This is a minor issue that requires a lot of effort to make it work the way you describe it and this is why we implemented it that way in the first place. But you are always welcome to make a pull request if you have the time.

APZelos avatar Nov 08 '21 10:11 APZelos