aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît CORTIER2021-06-23 20:33:28 +0000
committerBlaž Hrastnik2021-06-24 01:04:18 +0000
commit14f61fb6ac3cd167d7c52a3eaf172bb64553dfb9 (patch)
tree756cc22c4d17c6d0005ab17750d33e63d42b3c67
parent9cbf564d086a14b413d27f0514aa8f11b92ec880 (diff)
Fix lsp config deserialization case
It should have been in kebab-case, but it was the default snake_case.
-rw-r--r--helix-term/src/config.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs
index 839235f1..47d544e5 100644
--- a/helix-term/src/config.rs
+++ b/helix-term/src/config.rs
@@ -13,6 +13,7 @@ pub struct Config {
}
#[derive(Default, Serialize, Deserialize)]
+#[serde(rename_all = "kebab-case")]
pub struct LspConfig {
pub display_messages: bool,
}