Unnamed repository; edit this file 'description' to name the repository.
Parse gutter-types as Strings (#5696)
This is necessary for configurations like:
[editor]
gutters = ["diagnostics", "line-numbers"]
after the toml 0.6.0 dependency update.
| -rw-r--r-- | helix-view/src/editor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index eef4a3f9..1029c14f 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -125,7 +125,7 @@ where S: serde::de::SeqAccess<'de>, { let mut gutters = Vec::new(); - while let Some(gutter) = seq.next_element::<&str>()? { + while let Some(gutter) = seq.next_element::<String>()? { gutters.push( gutter .parse::<GutterType>() |