Skip to content

Commit

Permalink
Use correct invocation strategy config for checkOnSave
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Sep 19, 2022
1 parent d27f308 commit 18cbf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rust-analyzer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,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
Expand Down

0 comments on commit 18cbf41

Please sign in to comment.