Skip to content

Commit 6260c63

Browse files
committed
fmt
1 parent 68781ae commit 6260c63

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

editors/code/src/ctx.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ import { bootstrap } from "./bootstrap";
3030
export type Workspace =
3131
| { kind: "Empty" }
3232
| {
33-
kind: "Workspace Folder";
34-
}
33+
kind: "Workspace Folder";
34+
}
3535
| {
36-
kind: "Detached Files";
37-
files: vscode.TextDocument[];
38-
};
36+
kind: "Detached Files";
37+
files: vscode.TextDocument[];
38+
};
3939

4040
export function fetchWorkspace(): Workspace {
4141
const folders = (vscode.workspace.workspaceFolders || []).filter(
@@ -49,9 +49,9 @@ export function fetchWorkspace(): Workspace {
4949
? rustDocuments.length === 0
5050
? { kind: "Empty" }
5151
: {
52-
kind: "Detached Files",
53-
files: rustDocuments,
54-
}
52+
kind: "Detached Files",
53+
files: rustDocuments,
54+
}
5555
: { kind: "Workspace Folder" };
5656
}
5757

@@ -441,7 +441,8 @@ export class Ctx {
441441
}
442442
statusBar.tooltip.appendMarkdown("\n\n[Open Logs](command:rust-analyzer.openLogs)");
443443
statusBar.tooltip.appendMarkdown(
444-
`\n\n[${this.config.checkOnSave ? "Disable" : "Enable"
444+
`\n\n[${
445+
this.config.checkOnSave ? "Disable" : "Enable"
445446
} Check on Save](command:rust-analyzer.toggleCheckOnSave)`,
446447
);
447448
statusBar.tooltip.appendMarkdown(

0 commit comments

Comments
 (0)