Skip to content

Commit

Permalink
Use standard LSP 3.6 Goto implementation command
Browse files Browse the repository at this point in the history
Introduced in the RLS with
rust-lang/rls#936.
  • Loading branch information
Xanewok committed Jul 14, 2018
1 parent ebf3bf1 commit f06a57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class ClientWorkspace {
.asTextDocumentPositionParams(textEditor.document, textEditor.selection.active);
let locations: Location[];
try {
locations = await this.lc.sendRequest<Location[]>('rustDocument/implementations', params);
locations = await this.lc.sendRequest<Location[]>('textDocument/implementation', params);
} catch (reason) {
window.showWarningMessage('find implementations failed: ' + reason);
return;
Expand Down

0 comments on commit f06a57d

Please sign in to comment.