mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-04-24 17:12:16 +02:00
parent
3f0c8c2900
commit
b138d5740a
@ -171,6 +171,7 @@ impl HiArgs {
|
|||||||
} else {
|
} else {
|
||||||
std::thread::available_parallelism().map_or(1, |n| n.get()).min(12)
|
std::thread::available_parallelism().map_or(1, |n| n.get()).min(12)
|
||||||
};
|
};
|
||||||
|
log::debug!("using {threads} thread(s)");
|
||||||
let with_filename = low
|
let with_filename = low
|
||||||
.with_filename
|
.with_filename
|
||||||
.unwrap_or_else(|| low.vimgrep || !paths.is_one_file);
|
.unwrap_or_else(|| low.vimgrep || !paths.is_one_file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user