From 24805d1d80af251a124f7e1085bd59dfc93b764f Mon Sep 17 00:00:00 2001 From: Andy Russell Date: Wed, 2 Sep 2020 17:44:21 -0400 Subject: [PATCH] default `checkOnSave.enable` to `true` in server --- crates/rust-analyzer/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index 99f7751acd3..187273bbcb4 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -402,7 +402,7 @@ struct ConfigData { cargo_noDefaultFeatures: bool = false, cargo_target: Option = None, - checkOnSave_enable: bool = false, + checkOnSave_enable: bool = true, checkOnSave_allFeatures: Option = None, checkOnSave_allTargets: bool = true, checkOnSave_command: String = "check".into(),