Use kebab-case for config

imgbot
wojciechkepka 4 years ago committed by Blaž Hrastnik
parent bbefc1db63
commit a3cb79ebaa

@ -4,7 +4,7 @@
To disable language server progress report from being displayed in the status bar add this option to your `config.toml`: To disable language server progress report from being displayed in the status bar add this option to your `config.toml`:
```toml ```toml
lsp_progress = false lsp-progress = false
``` ```
## Theme ## Theme

@ -17,6 +17,7 @@ pub struct Config {
} }
#[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)]
#[serde(rename_all = "kebab-case")]
struct TomlConfig { struct TomlConfig {
lsp_progress: Option<bool>, lsp_progress: Option<bool>,
keys: Option<HashMap<String, HashMap<String, String>>>, keys: Option<HashMap<String, HashMap<String, String>>>,

Loading…
Cancel
Save