Skip to content

Commit

Permalink
fix #4859: stub cancellation token for resolve completions request
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
  • Loading branch information
akosyakov committed Apr 15, 2019
1 parent 2174b7f commit a4a71ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-ext/src/plugin/languages/completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class CompletionAdapter {
return Promise.resolve(completion);
}

return Promise.resolve(this.delegate.resolveCompletionItem(item, undefined)).then(resolvedItem => {
return Promise.resolve(this.delegate.resolveCompletionItem(item, createToken())).then(resolvedItem => {

if (!resolvedItem) {
return completion;
Expand Down

0 comments on commit a4a71ca

Please sign in to comment.