mirror of https://github.com/Aloxaf/silicon
parent
cd1ec2f9f0
commit
f7584ef672
|
@ -265,7 +265,7 @@ impl Config {
|
|||
Ok(theme.clone())
|
||||
} else {
|
||||
ThemeSet::get_theme(&self.theme)
|
||||
.context(format!("Canot load the theme: {}", self.theme))
|
||||
.context(format!("Cannot load the theme: {}", self.theme))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -288,7 +288,7 @@ impl ImageFormatter {
|
|||
*i = (*i).saturating_sub(20);
|
||||
}
|
||||
for i in 0..=lineno {
|
||||
let line_mumber = format!(
|
||||
let line_number = format!(
|
||||
"{:>width$}",
|
||||
i + self.line_offset,
|
||||
width = self.line_number_chars as usize
|
||||
|
@ -299,7 +299,7 @@ impl ImageFormatter {
|
|||
self.code_pad,
|
||||
self.get_line_y(i),
|
||||
FontStyle::REGULAR,
|
||||
&line_mumber,
|
||||
&line_number,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue