mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
align command naming
This commit is contained in:
parent
7abe1f422c
commit
d1a67c1174
18 changed files with 94 additions and 77 deletions
|
@ -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<SyntaxTreeResult>(
|
||||
'm/syntaxTree',
|
||||
'rust-analyzer/syntaxTree',
|
||||
request
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue