diff src/ex_cmds2.c @ 32395:2ed95122d59c v9.0.1529

patch 9.0.1529: code style test doesn't check for space after "if" Commit: https://github.com/vim/vim/commit/c9471b18728b1b37c04845ca2bc59fc981308b2d Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 9 15:00:00 2023 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Tue, 09 May 2023 16:15:05 +0200
parents b89cfd86e18e
children 448aef880252
line wrap: on
line diff
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -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: