diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs index 2c105aba5a25..1bc6ef4f92ea 100644 --- a/helix-term/src/ui/mod.rs +++ b/helix-term/src/ui/mod.rs @@ -267,7 +267,7 @@ pub fn file_picker(root: PathBuf, config: &helix_view::editor::Config) -> FilePi } pub fn file_browser(root: PathBuf) -> Result { - let root = root.canonicalize()?; + let root = helix_stdx::path::canonicalize(root); let directory_content = directory_content(&root)?; let columns = [PickerColumn::new(