feat: add new fixed formatter option

This commit is contained in:
2025-09-01 18:50:27 +08:00
parent 94b489f412
commit 3469f6babb
7 changed files with 153 additions and 14 deletions

View File

@@ -1172,6 +1172,8 @@ pub fn import_script(
length: imp_cfg.patched_fixed_length.unwrap_or(32),
keep_original: imp_cfg.patched_keep_original,
break_words: imp_cfg.patched_break_words,
insert_fullwidth_space_at_line_start: imp_cfg
.patched_insert_fullwidth_space_at_line_start,
},
types::FormatType::None => types::FormatOptions::None,
},
@@ -1363,6 +1365,8 @@ pub fn import_script(
length: imp_cfg.patched_fixed_length.unwrap_or(32),
keep_original: imp_cfg.patched_keep_original,
break_words: imp_cfg.patched_break_words,
insert_fullwidth_space_at_line_start: imp_cfg
.patched_insert_fullwidth_space_at_line_start,
},
types::FormatType::None => types::FormatOptions::None,
},