Mercurial > vim
comparison src/usercmd.c @ 22649:6e965b3587a4 v8.2.1873
patch 8.2.1873: Vim9: missing white space when using <f-args>
Commit: https://github.com/vim/vim/commit/20d89e0ac65686481f97657008deede0b39ef5db
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 20 23:11:33 2020 +0200
patch 8.2.1873: Vim9: missing white space when using <f-args>
Problem: Vim9: missing white space when using <f-args>.
Solution: Add spaces. (Christian J. Robinson)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 20 Oct 2020 23:15:03 +0200 |
parents | 9064044fd4f6 |
children | e82579016863 |
comparison
equal
deleted
inserted
replaced
22648:851db792dfa7 | 22649:6e965b3587a4 |
---|---|
1151 else if (VIM_ISWHITE(*p)) | 1151 else if (VIM_ISWHITE(*p)) |
1152 { | 1152 { |
1153 p = skipwhite(p); | 1153 p = skipwhite(p); |
1154 if (*p == NUL) | 1154 if (*p == NUL) |
1155 break; | 1155 break; |
1156 len += 3; // "," | 1156 len += 4; // ", " |
1157 } | 1157 } |
1158 else | 1158 else |
1159 { | 1159 { |
1160 int charlen = (*mb_ptr2len)(p); | 1160 int charlen = (*mb_ptr2len)(p); |
1161 | 1161 |
1197 p = skipwhite(p); | 1197 p = skipwhite(p); |
1198 if (*p == NUL) | 1198 if (*p == NUL) |
1199 break; | 1199 break; |
1200 *q++ = '"'; | 1200 *q++ = '"'; |
1201 *q++ = ','; | 1201 *q++ = ','; |
1202 *q++ = ' '; | |
1202 *q++ = '"'; | 1203 *q++ = '"'; |
1203 } | 1204 } |
1204 else | 1205 else |
1205 { | 1206 { |
1206 MB_COPY_CHAR(p, q); | 1207 MB_COPY_CHAR(p, q); |