0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

patch 9.0.1529: code style test doesn't check for space after "if"

Problem:    Code style test doesn't check for space after "if".
Solution:   Add a test for space.
This commit is contained in:
Bram Moolenaar
2023-05-09 15:00:00 +01:00
parent dda01c05c2
commit c9471b1872
9 changed files with 17 additions and 11 deletions

View File

@@ -508,7 +508,7 @@ ex_listdo(exarg_T *eap)
i++;
break;
case CMD_tabdo:
for( ; tp != NULL && i + 1 < eap->line1; tp = tp->tp_next)
for ( ; tp != NULL && i + 1 < eap->line1; tp = tp->tp_next)
i++;
break;
case CMD_argdo: