File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ import { bootstrap } from "./bootstrap";
30
30
export type Workspace =
31
31
| { kind : "Empty" }
32
32
| {
33
- kind : "Workspace Folder" ;
34
- }
33
+ kind : "Workspace Folder" ;
34
+ }
35
35
| {
36
- kind : "Detached Files" ;
37
- files : vscode . TextDocument [ ] ;
38
- } ;
36
+ kind : "Detached Files" ;
37
+ files : vscode . TextDocument [ ] ;
38
+ } ;
39
39
40
40
export function fetchWorkspace ( ) : Workspace {
41
41
const folders = ( vscode . workspace . workspaceFolders || [ ] ) . filter (
@@ -49,9 +49,9 @@ export function fetchWorkspace(): Workspace {
49
49
? rustDocuments . length === 0
50
50
? { kind : "Empty" }
51
51
: {
52
- kind : "Detached Files" ,
53
- files : rustDocuments ,
54
- }
52
+ kind : "Detached Files" ,
53
+ files : rustDocuments ,
54
+ }
55
55
: { kind : "Workspace Folder" } ;
56
56
}
57
57
@@ -441,7 +441,8 @@ export class Ctx {
441
441
}
442
442
statusBar . tooltip . appendMarkdown ( "\n\n[Open Logs](command:rust-analyzer.openLogs)" ) ;
443
443
statusBar . tooltip . appendMarkdown (
444
- `\n\n[${ this . config . checkOnSave ? "Disable" : "Enable"
444
+ `\n\n[${
445
+ this . config . checkOnSave ? "Disable" : "Enable"
445
446
} Check on Save](command:rust-analyzer.toggleCheckOnSave)`,
446
447
) ;
447
448
statusBar . tooltip . appendMarkdown (
You can’t perform that action at this time.
0 commit comments