aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwojciechkepka2021-06-18 04:09:42 +0000
committerBlaž Hrastnik2021-06-18 08:42:38 +0000
commita3cb79ebaaaa7682c7c7b007ed928b24f80cf3c2 (patch)
tree5d835f3be4988a1b8491b07ce8cb0f111e09586d
parentbbefc1db63f7c3933adfd91fc404db9850af8399 (diff)
Use kebab-case for config
-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>>>,