summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--book/src/configuration.md2
-rw-r--r--helix-term/src/config.rs1
2 files changed, 2 insertions, 1 deletions
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<bool>,
keys: Option<HashMap<String, HashMap<String, String>>>,