diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2022-09-15 13:35:46 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2022-10-19 23:21:34 +0200 |
| commit | 5174b65ed8ada51977b5621bc070fe5bf9137dc4 (patch) | |
| tree | b8b3ee66f9e999faa6e33b41dc3e03ac12b32eae | |
| parent | 4a287d25258aac0873863584e6f3d075dfb69033 (diff) | |
| download | rust-5174b65ed8ada51977b5621bc070fe5bf9137dc4.tar.gz rust-5174b65ed8ada51977b5621bc070fe5bf9137dc4.zip | |
Use correct invocation strategy config for checkOnSave
| -rw-r--r-- | crates/rust-analyzer/src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index a61e38706e5..9f022d6add1 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -1102,7 +1102,7 @@ impl Config { if !self.data.checkOnSave_enable { return None; } - let invocation_strategy = match self.data.cargo_buildScripts_invocationStrategy { + let invocation_strategy = match self.data.checkOnSave_invocationStrategy { InvocationStrategy::OnceInRoot => flycheck::InvocationStrategy::OnceInRoot, InvocationStrategy::PerWorkspaceWithManifestPath => { flycheck::InvocationStrategy::PerWorkspaceWithManifestPath |
