aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorLeoniePhiline2023-01-27 23:16:23 +0000
committerGitHub2023-01-27 23:16:23 +0000
commit2c6bf6fca60a21f39939f5ae027ed3f56cf92dbd (patch)
treea1450a546482f5642ce86259cbeb329bffc91c4e /helix-view/src
parent4a59d337f4a2dae04c0726c70dc65463c561639d (diff)
fix: Typo in variable name (#5710)
Diffstat (limited to 'helix-view/src')
-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,
)?,
};