aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/editor.rs
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-25 16:22:01 +0000
committerDmitry Sharshakov2021-08-25 16:22:01 +0000
commitc7759a5aa0b5381e0a71ba58f3f7a5f7d98c9777 (patch)
tree66fe309913b5d7fad40e21def56b724cabc61127 /helix-view/src/editor.rs
parent4ee66b876613c3d2c06945520e0c5e392d9315d1 (diff)
parent44a0512d951806cc98ab30ccc73009ba2631e42f (diff)
Merge remote-tracking branch 'origin/master' into debug
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 17319327..295dfc0e 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -238,7 +238,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()