aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/config.ts
diff options
context:
space:
mode:
authorIlya Titkov <[email protected]>2020-02-17 08:44:58 +0000
committerIlya Titkov <[email protected]>2020-02-17 08:44:58 +0000
commita2b0bdcc24a64061364aaa017bf6caef1810da7c (patch)
treee434da0a4a0d6f8413be638d6c5d98a215e98792 /editors/code/src/config.ts
parent32fc890de87e25c342b7c141ef98b07cb1471128 (diff)
Add arguments to rustfmt
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 70cb0a612..5fffd1fa7 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -149,7 +149,8 @@ export class Config {
149 get excludeGlobs() { return this.cfg.get("excludeGlobs") as string[]; } 149 get excludeGlobs() { return this.cfg.get("excludeGlobs") as string[]; }
150 get useClientWatching() { return this.cfg.get("useClientWatching") as boolean; } 150 get useClientWatching() { return this.cfg.get("useClientWatching") as boolean; }
151 get featureFlags() { return this.cfg.get("featureFlags") as Record<string, boolean>; } 151 get featureFlags() { return this.cfg.get("featureFlags") as Record<string, boolean>; }
152 152 get rustfmtArgs() { return this.cfg.get("rustfmtArgs") as string[]; }
153
153 get cargoWatchOptions(): CargoWatchOptions { 154 get cargoWatchOptions(): CargoWatchOptions {
154 return { 155 return {
155 enable: this.cfg.get("cargo-watch.enable") as boolean, 156 enable: this.cfg.get("cargo-watch.enable") as boolean,