diff options
author | Stuart Hinson | 2021-08-26 15:30:47 +0000 |
---|---|---|
committer | GitHub | 2021-08-26 15:30:47 +0000 |
commit | 6192f2fa250e3aa10e514547c69ae901aebed657 (patch) | |
tree | aa585cfd3bfbb0052d2726e50156ccb6ace4f183 /helix-term/src/ui | |
parent | dc57f8dc89e4d4d58e9af836690c0929a2092439 (diff) |
Show hidden files in filename completer (#648)
also removes unnecessary clone
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r-- | helix-term/src/ui/mod.rs | 3 |
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| { |