There was an error while loading. Please reload this page.
WalkBuilder
1 parent fee5db1 commit d17ffc4Copy full SHA for d17ffc4
1 file changed
helix-term/src/commands.rs
@@ -1865,10 +1865,15 @@ fn global_search(cx: &mut Context) {
1865
.hidden(file_picker_config.hidden)
1866
.parents(file_picker_config.parents)
1867
.ignore(file_picker_config.ignore)
1868
+ .follow_links(file_picker_config.follow_symlinks)
1869
.git_ignore(file_picker_config.git_ignore)
1870
.git_global(file_picker_config.git_global)
1871
.git_exclude(file_picker_config.git_exclude)
1872
.max_depth(file_picker_config.max_depth)
1873
+ // We always want to ignore the .git directory, otherwise if
1874
+ // `ignore` is turned off above, we end up with a lot of noise
1875
+ // in our picker.
1876
+ .filter_entry(|entry| entry.file_name() != ".git")
1877
.build_parallel()
1878
.run(|| {
1879
let mut searcher = searcher.clone();
0 commit comments