Skip to content

Commit a55f021

Browse files
committed
Fix order of struct entries
1 parent fbd1227 commit a55f021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ impl From<cli::Opt> for Config {
306306
),
307307
line_numbers_zero_style: styles["line-numbers-zero-style"],
308308
line_buffer_size: opt.line_buffer_size,
309-
styles_map,
310309
max_line_distance: opt.max_line_distance,
311310
max_line_distance_for_naively_paired_lines,
312311
max_line_length: match (opt.side_by_side, wrap_max_lines_plus1) {
@@ -353,6 +352,7 @@ impl From<cli::Opt> for Config {
353352
show_themes: opt.show_themes,
354353
side_by_side: opt.side_by_side,
355354
side_by_side_data,
355+
styles_map,
356356
syntax_dummy_theme: SyntaxTheme::default(),
357357
syntax_set: opt.computed.syntax_set,
358358
syntax_theme: opt.computed.syntax_theme,

0 commit comments

Comments
 (0)