diff --git a/snippets/c.snippets b/snippets/c.snippets index f4745c2..924fc01 100644 --- a/snippets/c.snippets +++ b/snippets/c.snippets @@ -104,7 +104,7 @@ snippet ret ## Loops # for snippet for - for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) { + for (int ${1:i} = 0; $1 < ${2:count}; $1${3:++}) { ${4} } # for (custom)