aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorStuart Hinson2021-08-26 15:30:47 +0000
committerGitHub2021-08-26 15:30:47 +0000
commit6192f2fa250e3aa10e514547c69ae901aebed657 (patch)
treeaa585cfd3bfbb0052d2726e50156ccb6ace4f183 /helix-term/src
parentdc57f8dc89e4d4d58e9af836690c0929a2092439 (diff)
Show hidden files in filename completer (#648)
also removes unnecessary clone
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/ui/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs
index e4871312..f3f8670e 100644
--- a/helix-term/src/ui/mod.rs
+++ b/helix-term/src/ui/mod.rs
@@ -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| {