Add 'relativenumber' patch from Markus Heidelberg.
diff --git a/src/normal.c b/src/normal.c
index a19771b..e02c817 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -7845,8 +7845,9 @@
}
else
i = curwin->w_leftcol;
- /* Go to the middle of the screen line. When 'number' is on and lines
- * are wrapping the middle can be more to the left. */
+ /* Go to the middle of the screen line. When 'number' or
+ * 'relativenumber' is on and lines are wrapping the middle can be more
+ * to the left. */
if (cap->nchar == 'm')
i += (W_WIDTH(curwin) - curwin_col_off()
+ ((curwin->w_p_wrap && i > 0)