Move formatting to LSP store (#18242)
Release Notes: - ssh-remoting: Fixed format on save --------- Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
@@ -280,7 +280,7 @@ impl ActivityIndicator {
|
||||
}
|
||||
|
||||
// Show any formatting failure
|
||||
if let Some(failure) = self.project.read(cx).last_formatting_failure() {
|
||||
if let Some(failure) = self.project.read(cx).last_formatting_failure(cx) {
|
||||
return Some(Content {
|
||||
icon: Some(
|
||||
Icon::new(IconName::Warning)
|
||||
|
||||
Reference in New Issue
Block a user