diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-12-17 22:10:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-12-17 22:10:58 +0100 |
commit | 91b65e49440e77222a65b6f868507453239f409b (patch) | |
tree | 4f01f1f4186e679cbf299ddaae53a70ceeab0417 /src/ops.c | |
parent | 6f345a1458df2db03fba7863492404e9dc8b817c (diff) | |
download | vim-git-91b65e49440e77222a65b6f868507453239f409b.tar.gz |
patch 8.2.0018: :join does not add white space where it shouldv8.2.0018
Problem: :join does not add white space where it should. (Zdenek Dohnal)
Solution: Handle joining multiple lines propely.
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2001,7 +2001,7 @@ do_join( { curr = skipwhite(curr); if (*curr != NUL && *curr != ')' - && currsize != 0 && endcurr1 != TAB + && sumsize != 0 && endcurr1 != TAB && (!has_format_option(FO_MBYTE_JOIN) || (mb_ptr2char(curr) < 0x100 && endcurr1 < 0x100)) && (!has_format_option(FO_MBYTE_JOIN2) |