diff options
author | Andy Russell <[email protected]> | 2020-09-02 22:44:21 +0100 |
---|---|---|
committer | Andy Russell <[email protected]> | 2020-09-02 22:44:21 +0100 |
commit | 24805d1d80af251a124f7e1085bd59dfc93b764f (patch) | |
tree | b11de1f1d225539f86e535db5f9a408628887333 /crates | |
parent | 7f79dbc84f5d69ec6f48fa8d67bdfa0525c5dd34 (diff) |
default `checkOnSave.enable` to `true` in server
Diffstat (limited to 'crates')
-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 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(), |