diff options
author | Pascal Kuthe | 2023-03-26 16:10:09 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2023-12-27 06:28:14 +0000 |
commit | 8653e1b02f6193330f8b0f2afff0a2ff103bd6a4 (patch) | |
tree | f6a04a6e55b437359d77a8d857e803593c625ef3 /helix-core | |
parent | c874a896a5151043a5cd7336e12ebc3a928fc677 (diff) |
Add config to mark diagnostic sources as persistent
Diffstat (limited to 'helix-core')
-rw-r--r-- | helix-core/src/syntax.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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<Vec<PathBuf>>, + #[serde(default)] + pub persistent_diagnostic_sources: Vec<String>, } #[derive(Debug, PartialEq, Eq, Hash)] |