diff options
author | Rino | 2023-01-26 22:29:29 +0000 |
---|---|---|
committer | GitHub | 2023-01-26 22:29:29 +0000 |
commit | 4d548a0ee39c14ba54b672f6b57072cf306c11a9 (patch) | |
tree | dbeef5781d7fafae1c9375f93c1314263f5adc12 /helix-view | |
parent | 291f39d66b7009dc97544942ff908d8ecee636d3 (diff) |
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.
Diffstat (limited to 'helix-view')
-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>() |