From 42ec379bf5c590d1b4116a755ec7209860e9d0d8 Mon Sep 17 00:00:00 2001 From: Sergio Ribera <56278796+SergioRibera@users.noreply.github.com> Date: Sun, 17 Mar 2024 03:30:51 -0400 Subject: [PATCH] fix: format style --- crates/sss_code/src/config.rs | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/crates/sss_code/src/config.rs b/crates/sss_code/src/config.rs index 2140f81..fa89965 100644 --- a/crates/sss_code/src/config.rs +++ b/crates/sss_code/src/config.rs @@ -48,7 +48,12 @@ pub struct CodeConfig { )] pub vim_theme: Option, // Setting synctect - #[clap(long, short = 'l', conflicts_with="list_themes", help = "Lists supported file types")] + #[clap( + long, + short = 'l', + conflicts_with = "list_themes", + help = "Lists supported file types" + )] #[merge(strategy = overwrite_false)] #[serde(skip)] pub list_file_types: bool, @@ -97,8 +102,14 @@ impl Default for CodeConfig { extra_syntaxes: None, extension: None, code_background: Some("#323232".to_string()), - lines: Some(Range { start: 0, end: usize::MAX }), - highlight_lines: Some(Range { start: 0, end: usize::MAX }), + lines: Some(Range { + start: 0, + end: usize::MAX, + }), + highlight_lines: Some(Range { + start: 0, + end: usize::MAX, + }), line_numbers: true, tab_width: Some(4), }