diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-28 12:01:56 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-28 12:01:56 +0000 |
commit | 3432c4366f578b4f0a9a6e0384292d72e43ebf03 (patch) | |
tree | b589fcf2ee7d816f3f18bd83b8e88738dcb6fd4f /editors/code/src/commands/syntaxTree.ts | |
parent | 7abe1f422c1a1230ad5b39474101806c438ef452 (diff) | |
parent | d1a67c1174abfb99b67b8db89c9f27c741e85057 (diff) |
Merge #695
695: align command naming r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code/src/commands/syntaxTree.ts')
-rw-r--r-- | editors/code/src/commands/syntaxTree.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands/syntaxTree.ts b/editors/code/src/commands/syntaxTree.ts index 5d5cdd7a0..c0baf08c5 100644 --- a/editors/code/src/commands/syntaxTree.ts +++ b/editors/code/src/commands/syntaxTree.ts | |||
@@ -3,7 +3,7 @@ import { TextDocumentIdentifier } from 'vscode-languageclient'; | |||
3 | 3 | ||
4 | import { Server } from '../server'; | 4 | import { Server } from '../server'; |
5 | 5 | ||
6 | export const syntaxTreeUri = vscode.Uri.parse('ra-lsp://syntaxtree'); | 6 | export const syntaxTreeUri = vscode.Uri.parse('rust-analyzer://syntaxtree'); |
7 | 7 | ||
8 | export class TextDocumentContentProvider | 8 | export class TextDocumentContentProvider |
9 | implements vscode.TextDocumentContentProvider { | 9 | implements vscode.TextDocumentContentProvider { |
@@ -21,7 +21,7 @@ export class TextDocumentContentProvider | |||
21 | textDocument: { uri: editor.document.uri.toString() } | 21 | textDocument: { uri: editor.document.uri.toString() } |
22 | }; | 22 | }; |
23 | return Server.client.sendRequest<SyntaxTreeResult>( | 23 | return Server.client.sendRequest<SyntaxTreeResult>( |
24 | 'm/syntaxTree', | 24 | 'rust-analyzer/syntaxTree', |
25 | request | 25 | request |
26 | ); | 26 | ); |
27 | } | 27 | } |