diff --git a/snippets/go.json b/snippets/go.json index 5f1fb609..02209ae0 100644 --- a/snippets/go.json +++ b/snippets/go.json @@ -116,7 +116,7 @@ }, "if err != nil": { "prefix": "ir", - "body": "if err != nil {\n\t${1:return ${2:nil, }${3:err}}\n}", + "body": "if err != nil {\n\treturn ${1:nil}, ${2:err}\n}", "description": "Snippet for if err != nil" }, "fmt.Println": {