Skip to content

Commit

Permalink
Use kebab-case for config
Browse files Browse the repository at this point in the history
  • Loading branch information
vv9k authored and archseer committed Jun 18, 2021
1 parent bbefc1d commit a3cb79e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions helix-term/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>>>,
Expand Down

0 comments on commit a3cb79e

Please sign in to comment.