Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat(ls): update keys to match new naming convention
Elijah Potter9605e7e705eb
diff --git a/harper-ls/src/config.rs b/harper-ls/src/config.rsindex 1f8438e1e..dd4e7e3b3 100644--- a/harper-ls/src/config.rs+++ b/harper-ls/src/config.rs@@ -50,7 +50,7 @@ impl CodeActionConfig {bail!("The code action configuration must be an object.");};- if let Some(force_stable_val) = value.get("forceStable") {+ if let Some(force_stable_val) = value.get("ForceStable") {let Value::Bool(force_stable) = force_stable_val else {bail!("forceStable must be a boolean value.");};@@ -127,7 +127,9 @@ impl Config {}if let Some(v) = value.get("markdown") {- base.markdown_options = serde_json::from_value(v.clone())?;+ if let Some(v) = v.get("IgnoreLinkTitle") {+ base.markdown_options.ignore_link_title = serde_json::from_value(v.clone())?;+ }}Ok(base)