forked from extern/nushell
enable find to be able to highlight some hits (#6086)
* enable find to be able to highlight some hits * oops, deps in the wrong place
This commit is contained in:
@ -344,7 +344,7 @@ You can also learn more at https://www.nushell.sh/book/"#;
|
||||
}
|
||||
|
||||
// Highlight the search string using ANSI escape sequences and regular expressions.
|
||||
fn highlight_search_string(
|
||||
pub fn highlight_search_string(
|
||||
haystack: &str,
|
||||
needle: &str,
|
||||
string_style: &Style,
|
||||
|
@ -14,7 +14,7 @@ mod export_env;
|
||||
mod export_extern;
|
||||
mod extern_;
|
||||
mod for_;
|
||||
mod help;
|
||||
pub mod help;
|
||||
mod hide;
|
||||
mod if_;
|
||||
mod ignore;
|
||||
|
Reference in New Issue
Block a user