mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
add option to disable notify
This commit is contained in:
parent
007737a0e7
commit
28df377759
13 changed files with 151 additions and 71 deletions
|
@ -15,6 +15,8 @@ pub struct ServerConfig {
|
|||
pub publish_decorations: bool,
|
||||
|
||||
pub exclude_globs: Vec<String>,
|
||||
#[serde(deserialize_with = "nullable_bool_false")]
|
||||
pub use_client_watching: bool,
|
||||
|
||||
pub lru_capacity: Option<usize>,
|
||||
|
||||
|
@ -31,6 +33,7 @@ impl Default for ServerConfig {
|
|||
ServerConfig {
|
||||
publish_decorations: false,
|
||||
exclude_globs: Vec::new(),
|
||||
use_client_watching: false,
|
||||
lru_capacity: None,
|
||||
with_sysroot: true,
|
||||
feature_flags: FxHashMap::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue