fix: Typo in variable name (#5710)

This commit is contained in:
LeoniePhiline 2023-01-28 00:16:23 +01:00 committed by GitHub
parent 4a59d337f4
commit 2c6bf6fca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ pub fn load(&self, name: &str) -> Result<Theme> {
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 @@ fn load_theme(
"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,
)?, )?,
}; };