Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

fixed lint on goSuggest #26

Merged
merged 1 commit into from
Feb 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/goSuggest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export class GoCompletionItemProvider implements vscode.CompletionItemProvider {
let snippet = prefix + ' ${1:methodName}(${2}) ${3} \{\n\t$0\n\}';
// [TypeFox]
// auxItem.insertText = new vscode.SnippetString(snippet);
auxItem.insertText =snippet;
auxItem.insertText = snippet;
auxItem.insertTextFormat = vscode.InsertTextFormat.Snippet;
suggestions.push(auxItem);
}
Expand Down