Add failure_default deserializer to scroll_history

This commit is contained in:
Christian Duerr authored and Joe Wilm committed 2018-03-09 09:47:21 -08:00
1 parent ec49105203
commit 52ebf3e6ec
1 file changed
+1 -1
+1 -1
View File
@@ -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,
}