Show symbols located in visible paths before ones located externally
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user