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

Commit

Permalink
remove blank space in the end of code snippet on function suggest (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmykuu authored and ramya-rao-a committed Nov 21, 2016
1 parent 061b73d commit be446af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goSuggest.ts
Expand Up @@ -181,7 +181,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';
Expand Down

0 comments on commit be446af

Please sign in to comment.