From e20b77d55429e8a0a653749375c0a6b016870106 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Thu, 3 Mar 2016 12:02:43 +0000 Subject: [PATCH] Go: Endless for loop --- snippets/go.snippets | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/snippets/go.snippets b/snippets/go.snippets index 293f71b..a3f4b49 100644 --- a/snippets/go.snippets +++ b/snippets/go.snippets @@ -108,8 +108,13 @@ snippet ie ${3} } ${0} -# for loop +# for int loop snippet for + for ${1}{ + ${0} + } +# for int loop +snippet fori for ${2:i} := 0; $2 < ${1:count}; $2${3:++} { ${0} }