From 8653e1b02f6193330f8b0f2afff0a2ff103bd6a4 Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Sun, 26 Mar 2023 18:10:09 +0200 Subject: Add config to mark diagnostic sources as persistent --- helix-core/src/syntax.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helix-core/src/syntax.rs') diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index dd922316..8d433260 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -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>, + #[serde(default)] + pub persistent_diagnostic_sources: Vec, } #[derive(Debug, PartialEq, Eq, Hash)] -- cgit v1.2.3-70-g09d2