fix
This commit is contained in:
parent
8db779388f
commit
ccc6a31dde
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ const complete = (line, settings) => {
|
|||
let name = words[0];
|
||||
if (words.length === 1) {
|
||||
let items = completeCommands(name);
|
||||
if (items.length === 0) {
|
||||
if (items.length === 0) {
|
||||
return Promise.resolve([]);
|
||||
}
|
||||
return Promise.resolve([
|
||||
|
|
|
@ -13,7 +13,7 @@ const defaultState = {
|
|||
const nextSelection = (state) => {
|
||||
if (state.completions.length === 0) {
|
||||
return [-1, -1];
|
||||
};
|
||||
}
|
||||
if (state.groupSelection < 0) {
|
||||
return [0, 0];
|
||||
}
|
||||
|
|
Reference in a new issue