diff options
author | wojciechkepka | 2021-06-19 11:26:52 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-19 15:07:13 +0000 |
commit | ce97a2f05fcddf81d8210ec6b25411f8fd7d867a (patch) | |
tree | 577068168aa16545f85aac310c2a10ae2c078842 /helix-core/src/lib.rs | |
parent | f424a61054a0495336862ff8d90627fb6f5ce572 (diff) |
Add ability to change theme on editor
Diffstat (limited to 'helix-core/src/lib.rs')
-rw-r--r-- | helix-core/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs index 03741719..d669fa49 100644 --- a/helix-core/src/lib.rs +++ b/helix-core/src/lib.rs @@ -50,7 +50,7 @@ pub fn find_root(root: Option<&str>) -> Option<std::path::PathBuf> { } #[cfg(not(embed_runtime))] -fn runtime_dir() -> std::path::PathBuf { +pub fn runtime_dir() -> std::path::PathBuf { if let Ok(dir) = std::env::var("HELIX_RUNTIME") { return dir.into(); } |