You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since lines that can be blamed are mutually exclusive with lines that are inside hunk,
I suggest adding api/command line_info().
If the cursor is on a hunk, it'll call preview_hunk().
If it's not, it'll call blame_line().
I always confused between blame/hunk preview keybind since they do kinda similar thing,
and came up with this simple implementation few days ago. It sure was very useful.
Would be great if this can get included in the plugin itself.
At least as small tip in README if you don't want to add this as a feature.
The text was updated successfully, but these errors were encountered:
Since lines that can be blamed are mutually exclusive with lines that are inside hunk,
I suggest adding api/command
line_info()
.If the cursor is on a hunk, it'll call
preview_hunk()
.If it's not, it'll call
blame_line()
.I always confused between blame/hunk preview keybind since they do kinda similar thing,
and came up with this simple implementation few days ago. It sure was very useful.
Would be great if this can get included in the plugin itself.
At least as small tip in README if you don't want to add this as a feature.
The text was updated successfully, but these errors were encountered: