diff options
Diffstat (limited to 'crates/ra_lsp_server/src/config.rs')
-rw-r--r-- | crates/ra_lsp_server/src/config.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/config.rs b/crates/ra_lsp_server/src/config.rs index 5c5ae3e18..cf53e7c4c 100644 --- a/crates/ra_lsp_server/src/config.rs +++ b/crates/ra_lsp_server/src/config.rs | |||
@@ -15,6 +15,8 @@ pub struct ServerConfig { | |||
15 | pub publish_decorations: bool, | 15 | pub publish_decorations: bool, |
16 | 16 | ||
17 | pub exclude_globs: Vec<String>, | 17 | pub exclude_globs: Vec<String>, |
18 | #[serde(deserialize_with = "nullable_bool_false")] | ||
19 | pub use_client_watching: bool, | ||
18 | 20 | ||
19 | pub lru_capacity: Option<usize>, | 21 | pub lru_capacity: Option<usize>, |
20 | 22 | ||
@@ -31,6 +33,7 @@ impl Default for ServerConfig { | |||
31 | ServerConfig { | 33 | ServerConfig { |
32 | publish_decorations: false, | 34 | publish_decorations: false, |
33 | exclude_globs: Vec::new(), | 35 | exclude_globs: Vec::new(), |
36 | use_client_watching: false, | ||
34 | lru_capacity: None, | 37 | lru_capacity: None, |
35 | with_sysroot: true, | 38 | with_sysroot: true, |
36 | feature_flags: FxHashMap::default(), | 39 | feature_flags: FxHashMap::default(), |