We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5507ea4 commit d4c8dd4Copy full SHA for d4c8dd4
src/config.rs
@@ -136,6 +136,7 @@ pub struct OptionsConfig {
136
pub strict_front_matter_parsing: Option<bool>,
137
138
/// Assume snippets for these languages contain `+render` and render them automatically.
139
+ #[serde(default)]
140
pub auto_render_languages: Vec<SnippetLanguage>,
141
}
142
@@ -510,4 +511,9 @@ mod test {
510
511
let config = KeyBindingsConfig::default();
512
CommandKeyBindings::try_from(config).expect("construction failed");
513
514
+
515
+ #[test]
516
+ fn default_options_serde() {
517
+ serde_yaml::from_str::<'_, OptionsConfig>("implicit_slide_ends: true").expect("failed to parse");
518
+ }
519
0 commit comments