fix: Typo in variable name (#5710)

pull/5/head
LeoniePhiline 2 years ago committed by GitHub
parent 4a59d337f4
commit 2c6bf6fca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -72,7 +72,7 @@ impl Loader {
fn load_theme( fn load_theme(
&self, &self,
name: &str, name: &str,
base_them_name: &str, base_theme_name: &str,
only_default_dir: bool, only_default_dir: bool,
) -> Result<Value> { ) -> Result<Value> {
let path = self.path(name, only_default_dir); let path = self.path(name, only_default_dir);
@ -94,8 +94,8 @@ impl Loader {
"base16_default" => BASE16_DEFAULT_THEME_DATA.clone(), "base16_default" => BASE16_DEFAULT_THEME_DATA.clone(),
_ => self.load_theme( _ => self.load_theme(
parent_theme_name, parent_theme_name,
base_them_name, base_theme_name,
base_them_name == parent_theme_name, base_theme_name == parent_theme_name,
)?, )?,
}; };

Loading…
Cancel
Save