Add config to mark diagnostic sources as persistent

This commit is contained in:
Pascal Kuthe 2023-03-26 18:10:09 +02:00 committed by Blaž Hrastnik
parent c874a896a5
commit 8653e1b02f
5 changed files with 91 additions and 41 deletions

View file

@ -155,6 +155,8 @@ pub struct LanguageConfiguration {
/// Hardcoded LSP root directories relative to the workspace root, like `examples` or `tools/fuzz`.
/// Falling back to the current working directory if none are configured.
pub workspace_lsp_roots: Option<Vec<PathBuf>>,
#[serde(default)]
pub persistent_diagnostic_sources: Vec<String>,
}
#[derive(Debug, PartialEq, Eq, Hash)]