mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Fix prettier error
This commit is contained in:
parent
6971c7f118
commit
c894a3e19b
4 changed files with 31 additions and 22 deletions
|
@ -134,8 +134,9 @@ export async function handleSingle(runnable: Runnable) {
|
|||
* provide inline diagnostics; the user is met with a series of dialog boxes
|
||||
* that, when accepted, allow us to `cargo install cargo-watch` and then run it.
|
||||
*/
|
||||
export async function interactivelyStartCargoWatch(context: vscode.ExtensionContext) {
|
||||
|
||||
export async function interactivelyStartCargoWatch(
|
||||
context: vscode.ExtensionContext
|
||||
) {
|
||||
if (Server.config.enableCargoWatchOnStartup === 'disabled') {
|
||||
return;
|
||||
}
|
||||
|
@ -195,7 +196,6 @@ export async function interactivelyStartCargoWatch(context: vscode.ExtensionCont
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
const validater = new CargoWatchProvider();
|
||||
validater.activate(context.subscriptions);
|
||||
validater.activate(context.subscriptions);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue