diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-12 22:02:31 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-12 22:02:31 +0000 |
commit | 2c7a29c7fd2e51236a00435ed37e280cb98a2131 (patch) | |
tree | 7092861773ca79e23c98bfb41a434a75adc85b02 /src/ops.c | |
parent | 5b962cf71c87f5d23408bac83c8a526b901daa3f (diff) | |
download | vim-git-2c7a29c7fd2e51236a00435ed37e280cb98a2131.tar.gz |
updated for version 7.0168
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -159,6 +159,7 @@ static char opchars[][3] = {'z', 'd', TRUE}, /* OP_FOLDDEL */ {'z', 'D', TRUE}, /* OP_FOLDDELREC */ {'g', 'w', TRUE}, /* OP_FORMAT2 */ + {'g', 'y', FALSE}, /* OP_FUNCTION */ }; /* @@ -2737,10 +2738,10 @@ op_yank(oap, deleting, mess) 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 @@ block_prep(oap, bdp, lnum, is_del) /* 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 */ } |