Empty buf completion
This commit is contained in:
parent
ee0f7b5806
commit
87b4f8e997
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ export default class CompletionsInteractor {
|
|||
url: tab.url,
|
||||
icon: tab.favIconUrl
|
||||
}));
|
||||
if (items.length === 0) {
|
||||
return Promise.resolve(Completions.empty());
|
||||
}
|
||||
return new Completions([new CompletionGroup('Buffers', items)]);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue