aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_lsp_server/src/config.rs')
-rw-r--r--crates/ra_lsp_server/src/config.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/config.rs b/crates/ra_lsp_server/src/config.rs
index 6dcdc695a..71838b89c 100644
--- a/crates/ra_lsp_server/src/config.rs
+++ b/crates/ra_lsp_server/src/config.rs
@@ -21,6 +21,10 @@ pub struct ServerConfig {
21 pub exclude_globs: Vec<String>, 21 pub exclude_globs: Vec<String>,
22 22
23 pub lru_capacity: Option<usize>, 23 pub lru_capacity: Option<usize>,
24
25 /// For internal usage to make integrated tests faster.
26 #[serde(deserialize_with = "nullable_bool_true")]
27 pub with_sysroot: bool,
24} 28}
25 29
26impl Default for ServerConfig { 30impl Default for ServerConfig {
@@ -30,6 +34,7 @@ impl Default for ServerConfig {
30 show_workspace_loaded: true, 34 show_workspace_loaded: true,
31 exclude_globs: Vec::new(), 35 exclude_globs: Vec::new(),
32 lru_capacity: None, 36 lru_capacity: None,
37 with_sysroot: true,
33 } 38 }
34 } 39 }
35} 40}