about summary refs log tree commit diff
path: root/editors/code/src/client.ts
diff options
context:
space:
mode:
authorIlya Titkov <ilya@titkov.me>2020-02-17 11:44:58 +0300
committerIlya Titkov <ilya@titkov.me>2020-02-17 11:44:58 +0300
commita2b0bdcc24a64061364aaa017bf6caef1810da7c (patch)
treee434da0a4a0d6f8413be638d6c5d98a215e98792 /editors/code/src/client.ts
parent32fc890de87e25c342b7c141ef98b07cb1471128 (diff)
downloadrust-a2b0bdcc24a64061364aaa017bf6caef1810da7c.tar.gz
rust-a2b0bdcc24a64061364aaa017bf6caef1810da7c.zip
Add arguments to rustfmt
Diffstat (limited to 'editors/code/src/client.ts')
-rw-r--r--editors/code/src/client.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts
index efef820abfa..11894973cd7 100644
--- a/editors/code/src/client.ts
+++ b/editors/code/src/client.ts
@@ -42,6 +42,7 @@ export async function createClient(config: Config): Promise<null | lc.LanguageCl
             featureFlags: config.featureFlags,
             withSysroot: config.withSysroot,
             cargoFeatures: config.cargoFeatures,
+            rustfmtArgs: config.rustfmtArgs,
         },
         traceOutputChannel,
     };