fix: Typo in variable name (#5710)
This commit is contained in:
parent
4a59d337f4
commit
2c6bf6fca6
@ -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,
|
||||||
)?,
|
)?,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user