mirror of
https://github.com/solaeus/nucleo.git
synced 2024-11-09 17: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 {
|
impl MatcherConfig {
|
||||||
pub fn set_match_paths(&mut self) {
|
pub fn set_match_paths(&mut self) {
|
||||||
|
// compared to fzf we include
|
||||||
if cfg!(windows) {
|
if cfg!(windows) {
|
||||||
self.delimiter_chars = b"/\\";
|
self.delimiter_chars = b"/:\\";
|
||||||
} else {
|
} else {
|
||||||
self.delimiter_chars = b"/";
|
self.delimiter_chars = b"/:";
|
||||||
}
|
}
|
||||||
self.bonus_boundary_white = BONUS_BOUNDARY;
|
self.bonus_boundary_white = BONUS_BOUNDARY;
|
||||||
self.initial_char_class = CharClass::Delimiter;
|
self.initial_char_class = CharClass::Delimiter;
|
||||||
|
Loading…
Reference in New Issue
Block a user