From d1a67c1174abfb99b67b8db89c9f27c741e85057 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 28 Jan 2019 14:43:07 +0300 Subject: align command naming --- editors/code/src/commands/syntaxTree.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/code/src/commands/syntaxTree.ts') 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'; import { Server } from '../server'; -export const syntaxTreeUri = vscode.Uri.parse('ra-lsp://syntaxtree'); +export const syntaxTreeUri = vscode.Uri.parse('rust-analyzer://syntaxtree'); export class TextDocumentContentProvider implements vscode.TextDocumentContentProvider { @@ -21,7 +21,7 @@ export class TextDocumentContentProvider textDocument: { uri: editor.document.uri.toString() } }; return Server.client.sendRequest( - 'm/syntaxTree', + 'rust-analyzer/syntaxTree', request ); } -- cgit v1.2.3