From 4d548a0ee39c14ba54b672f6b57072cf306c11a9 Mon Sep 17 00:00:00 2001 From: Rino Date: Thu, 26 Jan 2023 23:29:29 +0100 Subject: 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.--- helix-view/src/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-view/src/editor.rs') 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::()? { gutters.push( gutter .parse::() -- cgit v1.2.3-70-g09d2