aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/editor.rs
diff options
context:
space:
mode:
authorKirawi2021-08-25 01:04:05 +0000
committerGitHub2021-08-25 01:04:05 +0000
commitb99db7c6875f74a15dcfb0cfdb3334c837d4aab1 (patch)
tree38656c3884fc7e49234af6daf826a7fb70748b9d /helix-view/src/editor.rs
parentbf5b9a9f354135933d7970863cf81e5a36585d03 (diff)
Move path util functions from helix-term to helix-core (#650)
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r--helix-view/src/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index ec80580e..18cb9106 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -229,7 +229,7 @@ impl Editor {
}
pub fn open(&mut self, path: PathBuf, action: Action) -> Result<DocumentId, Error> {
- let path = crate::document::canonicalize_path(&path)?;
+ let path = helix_core::path::get_canonicalized_path(&path)?;
let id = self
.documents()