aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Russell <[email protected]>2020-09-02 22:44:21 +0100
committerAndy Russell <[email protected]>2020-09-02 22:44:21 +0100
commit24805d1d80af251a124f7e1085bd59dfc93b764f (patch)
treeb11de1f1d225539f86e535db5f9a408628887333
parent7f79dbc84f5d69ec6f48fa8d67bdfa0525c5dd34 (diff)
default `checkOnSave.enable` to `true` in server
-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(),