Do not resolve symlinks in file browser

This commit is contained in:
Denys Rybalka 2024-10-04 11:47:40 +02:00
parent 006359c37f
commit 123378462b
No known key found for this signature in database
GPG key ID: 1F6284E97DB46ED1

View file

@ -278,7 +278,7 @@ pub fn file_picker(root: PathBuf, config: &helix_view::editor::Config) -> FilePi
}
pub fn file_browser(root: PathBuf) -> Result<FilePicker, std::io::Error> {
let root = root.canonicalize()?;
let root = helix_stdx::path::canonicalize(root);
let directory_content = directory_content(&root)?;
let columns = [PickerColumn::new(