diff options
Diffstat (limited to 'crates/ra_lsp_server/src/config.rs')
-rw-r--r-- | crates/ra_lsp_server/src/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/config.rs b/crates/ra_lsp_server/src/config.rs index 67942aa41..a916c5fd6 100644 --- a/crates/ra_lsp_server/src/config.rs +++ b/crates/ra_lsp_server/src/config.rs | |||
@@ -31,6 +31,7 @@ pub struct ServerConfig { | |||
31 | pub lru_capacity: Option<usize>, | 31 | pub lru_capacity: Option<usize>, |
32 | 32 | ||
33 | pub max_inlay_hint_length: Option<usize>, | 33 | pub max_inlay_hint_length: Option<usize>, |
34 | pub show_default_types_in_inlay_hints: bool, | ||
34 | 35 | ||
35 | /// For internal usage to make integrated tests faster. | 36 | /// For internal usage to make integrated tests faster. |
36 | #[serde(deserialize_with = "nullable_bool_true")] | 37 | #[serde(deserialize_with = "nullable_bool_true")] |
@@ -51,6 +52,7 @@ impl Default for ServerConfig { | |||
51 | use_client_watching: false, | 52 | use_client_watching: false, |
52 | lru_capacity: None, | 53 | lru_capacity: None, |
53 | max_inlay_hint_length: None, | 54 | max_inlay_hint_length: None, |
55 | show_default_types_in_inlay_hints: false, | ||
54 | with_sysroot: true, | 56 | with_sysroot: true, |
55 | feature_flags: FxHashMap::default(), | 57 | feature_flags: FxHashMap::default(), |
56 | cargo_features: Default::default(), | 58 | cargo_features: Default::default(), |