Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Change index to i in for loop snippet (#3010)
Browse files Browse the repository at this point in the history
  • Loading branch information
programmer04 authored and ramya-rao-a committed Jan 28, 2020
1 parent 2a9ada4 commit 335412a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/go.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
},
"for statement": {
"prefix": "for",
"body": "for ${1:index} := 0; $1 < ${2:count}; $1${3:++} {\n\t$0\n}",
"body": "for ${1:i} := 0; $1 < ${2:count}; $1${3:++} {\n\t$0\n}",
"description": "Snippet for a for loop"
},
"for range statement": {
Expand Down

0 comments on commit 335412a

Please sign in to comment.