From 68b252a5fd14bda964293f1ba95c73b859eb703c Mon Sep 17 00:00:00 2001 From: Denys Rybalka Date: Fri, 4 Oct 2024 11:47:40 +0200 Subject: [PATCH] Do not resolve symlinks in file browser --- helix-term/src/ui/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs index 2c105aba5..1bc6ef4f9 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(