diff --git a/crates/typos-lsp/src/lsp.rs b/crates/typos-lsp/src/lsp.rs index 4626673..7394996 100644 --- a/crates/typos-lsp/src/lsp.rs +++ b/crates/typos-lsp/src/lsp.rs @@ -111,6 +111,7 @@ impl LanguageServer for Backend<'static> { .context .diagnostics .iter() + .filter(|diag| diag.source == Some("typos".to_string())) .flat_map(|diag| match &diag.data { Some(data) => { if let Ok(DiagnosticData { corrections }) =