on master help sign in
Use kebab-case for config
a3cb79ewojciechkepka
book/src/configuration.md+1−1
@@ -4,7 +4,7 @@
4
4
5To disable language server progress report from being displayed in the status bar add this option to your `config.toml`:
5To disable language server progress report from being displayed in the status bar add this option to your `config.toml`:
6```toml
6```toml
7−lsp_progress = false
7+lsp-progress = false
8```
8```
9
9
10## Theme
10## Theme
helix-term/src/config.rs+1
@@ -17,6 +17,7 @@ pub struct Config {
17}
17}
18
18
19#[derive(Serialize, Deserialize)]
19#[derive(Serialize, Deserialize)]
20+#[serde(rename_all = "kebab-case")]
20struct TomlConfig {
21struct TomlConfig {
21 lsp_progress: Option<bool>,
22 lsp_progress: Option<bool>,
22 keys: Option<HashMap<String, HashMap<String, String>>>,
23 keys: Option<HashMap<String, HashMap<String, String>>>,