aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
authorfarwyler2022-06-05 10:50:57 +0000
committerGitHub2022-06-05 10:50:57 +0000
commitf92a25a856d572c7bd4b8e597a3f86ce211e81d5 (patch)
treef6f63b8ab2c6af7d47f64b9bd8a90bd9950ed3e3 /helix-core/src
parentb2bd87df81756d4925bf1f4da6962b9dd83a807c (diff)
Passing extra formatting options to LSPs (#2635)
* allows passing extra formatting options to LSPs - adds optional field 'format' to [[language]] sections in 'languages.toml' - passes specified options the LSPs via FormattingOptions * cleaner conversion of formatting properties * move formatting options inside lsp::Client * cleans up formatting properties merge
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/syntax.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 1cfa04e7..ca497b64 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -78,6 +78,7 @@ pub struct LanguageConfiguration {
#[serde(default)]
pub auto_format: bool,
+
#[serde(default)]
pub diagnostic_severity: Severity,