aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs
index 3e3d0fa2..e37175c1 100644
--- a/helix-core/src/lib.rs
+++ b/helix-core/src/lib.rs
@@ -68,7 +68,7 @@ fn runtime_dir() -> std::path::PathBuf {
// fallback to location of the executable being run
std::env::current_exe()
.ok()
- .and_then(|path| path.parent().map(|path| path.to_path_buf()))
+ .and_then(|path| path.parent().map(|path| path.to_path_buf().join(RT_DIR)))
.unwrap()
}