activity indicator: Reset formatting failure on click (#20029)
Release Notes: - N/A
This commit is contained in:
parent
293e080f03
commit
5b6401519b
3 changed files with 13 additions and 1 deletions
|
@ -5270,6 +5270,10 @@ impl LspStore {
|
|||
self.last_formatting_failure.as_deref()
|
||||
}
|
||||
|
||||
pub fn reset_last_formatting_failure(&mut self) {
|
||||
self.last_formatting_failure = None;
|
||||
}
|
||||
|
||||
pub fn environment_for_buffer(
|
||||
&self,
|
||||
buffer: &Model<Buffer>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue