diff options
author | Wojciech Kępka | 2021-06-18 06:19:34 +0000 |
---|---|---|
committer | GitHub | 2021-06-18 06:19:34 +0000 |
commit | 41b07486ad935ad820dd4ba210457a03c95e1145 (patch) | |
tree | f7c8bb69d3398d222e26a627d8b70627b73237f8 /helix-core/src | |
parent | 42142cf680197a2076b9fa8ec864b91e67068082 (diff) |
Fix expansion of `~` (#284)
* Fix expansion of `~`, dont use directory relative to cwd.
* Add `expand_tilde`
* Bring back `canonicalize_path`, use `expand_tilde` to `normalize`
* Make `:open ~` completion work
* Fix clippy
* Fold home dir into tilde in Document `realitve_path`
Diffstat (limited to 'helix-core/src')
-rw-r--r-- | helix-core/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs index b11faeab..03741719 100644 --- a/helix-core/src/lib.rs +++ b/helix-core/src/lib.rs @@ -89,6 +89,8 @@ pub fn cache_dir() -> std::path::PathBuf { path } +pub use etcetera::home_dir; + use etcetera::base_strategy::{choose_base_strategy, BaseStrategy}; pub use ropey::{Rope, RopeSlice}; |