Skip to content

Commit

Permalink
lsp: Ignore payload of DidChangeConfiguration dynamic registration (#…
Browse files Browse the repository at this point in the history
…23454)

Fixes #23430

Closes #23430

Release Notes:

- N/A
  • Loading branch information
osiewicz authored Jan 22, 2025
1 parent c66f611 commit f0b5b0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/project/src/lsp_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,9 @@ impl LocalLspStore {
anyhow::Ok(())
})??;
}
"workspace/didChangeConfiguration" => {
// Ignore payload since we notify clients of setting changes unconditionally, relying on them pulling the latest settings.
}
_ => log::warn!("unhandled capability registration: {reg:?}"),
}
}
Expand Down

0 comments on commit f0b5b0b

Please sign in to comment.