mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-12-01 19:58:12 +03:00
Show hidden files in filename completer (#648)
also removes unnecessary clone
This commit is contained in:
parent
dc57f8dc89
commit
6192f2fa25
@ -228,7 +228,8 @@ pub mod completers {
|
||||
|
||||
let end = input.len()..;
|
||||
|
||||
let mut files: Vec<_> = WalkBuilder::new(dir.clone())
|
||||
let mut files: Vec<_> = WalkBuilder::new(&dir)
|
||||
.hidden(false)
|
||||
.max_depth(Some(1))
|
||||
.build()
|
||||
.filter_map(|file| {
|
||||
|
Loading…
Reference in New Issue
Block a user