mirror of
https://github.com/solaeus/nucleo.git
synced 2024-11-12 18:17:11 +00:00
Treat colon as path delimiter
This commit is contained in:
parent
1cb902ccdb
commit
2cbb46e738
@ -32,10 +32,11 @@ impl MatcherConfig {
|
||||
|
||||
impl MatcherConfig {
|
||||
pub fn set_match_paths(&mut self) {
|
||||
// compared to fzf we include
|
||||
if cfg!(windows) {
|
||||
self.delimiter_chars = b"/\\";
|
||||
self.delimiter_chars = b"/:\\";
|
||||
} else {
|
||||
self.delimiter_chars = b"/";
|
||||
self.delimiter_chars = b"/:";
|
||||
}
|
||||
self.bonus_boundary_white = BONUS_BOUNDARY;
|
||||
self.initial_char_class = CharClass::Delimiter;
|
||||
|
Loading…
Reference in New Issue
Block a user