From a3cb79ebaaaa7682c7c7b007ed928b24f80cf3c2 Mon Sep 17 00:00:00 2001 From: wojciechkepka Date: Fri, 18 Jun 2021 06:09:42 +0200 Subject: [PATCH] Use kebab-case for config --- book/src/configuration.md | 2 +- helix-term/src/config.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/book/src/configuration.md b/book/src/configuration.md index 31c267cf..3ff02adb 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -4,7 +4,7 @@ To disable language server progress report from being displayed in the status bar add this option to your `config.toml`: ```toml -lsp_progress = false +lsp-progress = false ``` ## Theme diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs index 2b8b475b..d2bbe84f 100644 --- a/helix-term/src/config.rs +++ b/helix-term/src/config.rs @@ -17,6 +17,7 @@ pub struct Config { } #[derive(Serialize, Deserialize)] +#[serde(rename_all = "kebab-case")] struct TomlConfig { lsp_progress: Option, keys: Option>>,