diff --git a/src/goSuggest.ts b/src/goSuggest.ts index 45162df78..38a850a62 100644 --- a/src/goSuggest.ts +++ b/src/goSuggest.ts @@ -178,7 +178,7 @@ export class GoCompletionItemProvider implements vscode.CompletionItemProvider { paramSnippets.push('{{' + param + '}}'); } } - item.insertText = suggest.name + '(' + paramSnippets.join(', ') + ') {{}}'; + item.insertText = suggest.name + '(' + paramSnippets.join(', ') + '){{}}'; } // Add same sortText to all suggestions from gocode so that they appear before the unimported packages item.sortText = 'a';