From 5a8b7dac6891f1c24d1e8e8db83b007c6f258185 Mon Sep 17 00:00:00 2001 From: Amos King Date: Fri, 28 Feb 2014 22:32:36 -0600 Subject: [PATCH] Update for snippet with normal for syntax With the current example snippet the for loop would look like for(i; i < count; count++) This would be incrementing the control. I thought that the documentation should create the following instead: for(i; i < count; i++) I believe this is more of a realistic scenario. Amos King @adkron --- doc/snipMate.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/snipMate.txt b/doc/snipMate.txt index 521235d9..ea875a5f 100644 --- a/doc/snipMate.txt +++ b/doc/snipMate.txt @@ -94,7 +94,7 @@ the tab stop. This text then can be copied throughout the snippet using "$#", given # is the same number as used before. So, to make a C for loop: > snippet for - for (${2:i}; $2 < ${1:count}; $1++) { + for (${2:i}; $2 < ${1:count}; $2++) { ${4} }