updated for version 7.0168
diff --git a/src/ops.c b/src/ops.c
index 8c239da..2f9ff00 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -159,6 +159,7 @@
{'z', 'd', TRUE}, /* OP_FOLDDEL */
{'z', 'D', TRUE}, /* OP_FOLDDELREC */
{'g', 'w', TRUE}, /* OP_FORMAT2 */
+ {'g', 'y', FALSE}, /* OP_FUNCTION */
};
/*
@@ -2737,10 +2738,10 @@
else
free_yank_all(); /* free previously yanked lines */
-/*
- * If the cursor was in column 1 before and after the movement, and the
- * operator is not inclusive, the yank is always linewise.
- */
+ /*
+ * If the cursor was in column 1 before and after the movement, and the
+ * operator is not inclusive, the yank is always linewise.
+ */
if ( oap->motion_type == MCHAR
&& oap->start.col == 0
&& !oap->inclusive
@@ -4786,7 +4787,7 @@
/* if (!is_del || oap->op_type == OP_APPEND) */
if (oap->op_type == OP_APPEND || virtual_op)
bdp->endspaces = oap->end_vcol - bdp->end_vcol
- + oap->inclusive;
+ + oap->inclusive;
else
bdp->endspaces = 0; /* replace doesn't add characters */
}