diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index 42e9b99d5..146289882 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -2198,7 +2198,6 @@ pub enum FormatterError { BrokenStdin, WaitForOutputFailed, InvalidUtf8Output, - DiskReloadError(String), NonZeroExitStatus(Option), } @@ -2213,7 +2212,6 @@ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { Self::BrokenStdin => write!(f, "Could not write to formatter stdin"), Self::WaitForOutputFailed => write!(f, "Waiting for formatter output failed"), Self::InvalidUtf8Output => write!(f, "Invalid UTF-8 formatter output"), - Self::DiskReloadError(error) => write!(f, "Error reloading file from disk: {}", error), Self::NonZeroExitStatus(Some(output)) => write!(f, "Formatter error: {}", output), Self::NonZeroExitStatus(None) => { write!(f, "Formatter exited with non zero exit status")