Show symbols located in visible paths before ones located externally
This commit is contained in:
parent
f775cb2947
commit
8552ba15dc
5 changed files with 103 additions and 74 deletions
|
@ -181,7 +181,7 @@ pub async fn match_strings(
|
|||
cancel_flag: &AtomicBool,
|
||||
background: Arc<executor::Background>,
|
||||
) -> Vec<StringMatch> {
|
||||
if candidates.is_empty() {
|
||||
if candidates.is_empty() || max_results == 0 {
|
||||
return Default::default();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue