feat: add search terms to category of strings (#5723)

This commit is contained in:
Jae-Heon Ji
2022-06-06 22:47:09 +09:00
committed by GitHub
parent b8d253cbd7
commit 820a6bfb08
26 changed files with 112 additions and 0 deletions

View File

@ -19,6 +19,10 @@ impl Command for NuHighlight {
"Syntax highlight the input string."
}
fn search_terms(&self) -> Vec<&str> {
vec!["syntax", "color", "convert"]
}
fn run(
&self,
engine_state: &EngineState,

View File

@ -28,6 +28,10 @@ impl Command for Print {
"Prints the values given"
}
fn search_terms(&self) -> Vec<&str> {
vec!["display"]
}
fn run(
&self,
engine_state: &EngineState,