diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs index dda523d8..58c7135e 100644 --- a/helix-term/src/ui/mod.rs +++ b/helix-term/src/ui/mod.rs @@ -278,7 +278,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(