mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Code formatting
This commit is contained in:
parent
f195f876c3
commit
57b4ec4d5e
1 changed files with 2 additions and 1 deletions
|
@ -293,7 +293,8 @@ impl Config {
|
|||
pub fn update_caps(&mut self, caps: &ClientCapabilities) {
|
||||
if let Some(ws_caps) = caps.workspace.as_ref() {
|
||||
if let Some(did_change_watched_files) = ws_caps.did_change_watched_files.as_ref() {
|
||||
self.client_caps.dynamic_watched_files = did_change_watched_files.dynamic_registration.unwrap_or(false);
|
||||
self.client_caps.dynamic_watched_files =
|
||||
did_change_watched_files.dynamic_registration.unwrap_or(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue