Do not resolve symlinks in file browser

This commit is contained in:
Denys Rybalka 2024-10-04 11:47:40 +02:00
parent adc72f2d87
commit 68b252a5fd
No known key found for this signature in database
GPG Key ID: 1F6284E97DB46ED1

View File

@ -267,7 +267,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(