aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-09-03 11:06:49 +0100
committerGitHub <[email protected]>2020-09-03 11:06:49 +0100
commit5328792feaf16f58f4c8962a70c5fcd306fa46a4 (patch)
treeb11de1f1d225539f86e535db5f9a408628887333
parent7f79dbc84f5d69ec6f48fa8d67bdfa0525c5dd34 (diff)
parent24805d1d80af251a124f7e1085bd59dfc93b764f (diff)
Merge #5939
5939: default `checkOnSave.enable` to `true` in server r=matklad a=euclio Fixes #5905. Co-authored-by: Andy Russell <[email protected]>
-rw-r--r--crates/rust-analyzer/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 99f7751ac..187273bbc 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -402,7 +402,7 @@ config_data! {
402 cargo_noDefaultFeatures: bool = false, 402 cargo_noDefaultFeatures: bool = false,
403 cargo_target: Option<String> = None, 403 cargo_target: Option<String> = None,
404 404
405 checkOnSave_enable: bool = false, 405 checkOnSave_enable: bool = true,
406 checkOnSave_allFeatures: Option<bool> = None, 406 checkOnSave_allFeatures: Option<bool> = None,
407 checkOnSave_allTargets: bool = true, 407 checkOnSave_allTargets: bool = true,
408 checkOnSave_command: String = "check".into(), 408 checkOnSave_command: String = "check".into(),