aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r--editors/code/src/config.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index 84ec81ecd..c7323f6e9 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -23,6 +23,7 @@ export interface CargoFeatures {
23 allFeatures: boolean; 23 allFeatures: boolean;
24 features: string[]; 24 features: string[];
25 loadOutDirsFromCheck: boolean; 25 loadOutDirsFromCheck: boolean;
26 outDirOverrides: Record<string, string>;
26} 27}
27 28
28export const enum UpdatesChannel { 29export const enum UpdatesChannel {
@@ -203,7 +204,6 @@ export class Config {
203 get excludeGlobs() { return this.cfg.get("excludeGlobs") as string[]; } 204 get excludeGlobs() { return this.cfg.get("excludeGlobs") as string[]; }
204 get useClientWatching() { return this.cfg.get("useClientWatching") as boolean; } 205 get useClientWatching() { return this.cfg.get("useClientWatching") as boolean; }
205 get featureFlags() { return this.cfg.get("featureFlags") as Record<string, boolean>; } 206 get featureFlags() { return this.cfg.get("featureFlags") as Record<string, boolean>; }
206 get additionalOutDirs() { return this.cfg.get("additionalOutDirs") as Record<string, string>; }
207 get rustfmtArgs() { return this.cfg.get("rustfmtArgs") as string[]; } 207 get rustfmtArgs() { return this.cfg.get("rustfmtArgs") as string[]; }
208 get loadOutDirsFromCheck() { return this.cfg.get("loadOutDirsFromCheck") as boolean; } 208 get loadOutDirsFromCheck() { return this.cfg.get("loadOutDirsFromCheck") as boolean; }
209 209
@@ -222,6 +222,7 @@ export class Config {
222 allFeatures: this.cfg.get("cargoFeatures.allFeatures") as boolean, 222 allFeatures: this.cfg.get("cargoFeatures.allFeatures") as boolean,
223 features: this.cfg.get("cargoFeatures.features") as string[], 223 features: this.cfg.get("cargoFeatures.features") as string[],
224 loadOutDirsFromCheck: this.cfg.get("cargoFeatures.loadOutDirsFromCheck") as boolean, 224 loadOutDirsFromCheck: this.cfg.get("cargoFeatures.loadOutDirsFromCheck") as boolean,
225 outDirOverrides: this.cfg.get("cargoFeatures.outDirOverrides") as Record<string, string>,
225 }; 226 };
226 } 227 }
227 228