From dd60ea563d1b3022e387d96e2b6cf8bbb682b947 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Fri, 9 Mar 2018 11:01:42 +0100 Subject: Add `failure_default` deserializer to `scroll_history` --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/config.rs b/src/config.rs index b0523c13..2c2cfe46 100644 --- a/src/config.rs +++ b/src/config.rs @@ -398,7 +398,7 @@ pub struct Config { tabspaces: usize, /// How much scrolling history to keep - #[serde(default="default_scroll_history")] + #[serde(default="default_scroll_history", deserialize_with="failure_default")] scroll_history: u32, } -- cgit v1.2.3-54-g00ecf