commit 72ee5f3307da80758fc0581bc3a7d2505d3bfb04
parent 63d9b8eefeb7c4f687f451642f340ab59503fa1a
Author: bakkeby <bakkeby@gmail.com>
Date: Mon, 10 May 2021 10:43:38 +0200
vim-browse: fix for missing history overlay
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/x.c b/x.c
@@ -481,7 +481,7 @@ bpress(XEvent *e)
pressKeys("v", 1);
historyOpToggle(-1, 1);
}
- }
+ }
#else
if (TIMEDIFF(now, xsel.tclick2) <= tripleclicktimeout) {
snap = SNAP_LINE;
@@ -2228,6 +2228,9 @@ xdrawline(Line line, int x1, int y1, int x2)
i = ox = 0;
for (x = x1; x < x2 && i < numspecs; x++) {
new = line[x];
+ #if VIM_BROWSE_PATCH
+ historyOverlay(x, y1, &new);
+ #endif // VIM_BROWSE_PATCH
if (new.mode == ATTR_WDUMMY)
continue;
if (selected(x, y1))