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>()