Use kebab-case for config

This commit is contained in:
wojciechkepka 2021-06-18 06:09:42 +02:00 committed by Blaž Hrastnik
parent bbefc1db63
commit a3cb79ebaa
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ ## LSP
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

View File

@ -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>>>,