aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/theme.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs
index 8fb15a10..125725e0 100644
--- a/helix-view/src/theme.rs
+++ b/helix-view/src/theme.rs
@@ -72,7 +72,7 @@ impl Loader {
fn load_theme(
&self,
name: &str,
- base_them_name: &str,
+ base_theme_name: &str,
only_default_dir: bool,
) -> Result<Value> {
let path = self.path(name, only_default_dir);
@@ -94,8 +94,8 @@ impl Loader {
"base16_default" => BASE16_DEFAULT_THEME_DATA.clone(),
_ => self.load_theme(
parent_theme_name,
- base_them_name,
- base_them_name == parent_theme_name,
+ base_theme_name,
+ base_theme_name == parent_theme_name,
)?,
};