This repository was archived by the owner on May 28, 2025. It is now read-only.
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";
3030export 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
4040export 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 (
You can’t perform that action at this time.
0 commit comments