style: remove accidentally added newlines

pull/12203/head
Nikita Revenco 2025-02-01 14:31:25 +00:00
parent 9bf3262152
commit 94305a5a82
2 changed files with 0 additions and 2 deletions

View File

@ -189,7 +189,6 @@ impl EditorView {
primary_cursor, primary_cursor,
}); });
} }
let config = doc.config.load(); let config = doc.config.load();
if config.enable_diagnostics { if config.enable_diagnostics {

View File

@ -104,7 +104,6 @@ impl DiagnosticsHandler {
self.active_generation self.active_generation
.store(self.generation.get(), atomic::Ordering::Relaxed); .store(self.generation.get(), atomic::Ordering::Relaxed);
} }
pub fn show_cursorline_diagnostics(&self, doc: &Document, view: ViewId) -> bool { pub fn show_cursorline_diagnostics(&self, doc: &Document, view: ViewId) -> bool {
if !self.active || !doc.config.load().enable_diagnostics { if !self.active || !doc.config.load().enable_diagnostics {
return false; return false;