[autocomplete] don't try to complete a minus by itself, see #1028
This commit is contained in:
parent
f3772236f9
commit
331a724b6e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ function updateCompletions(element) {
|
|||
clearTimeout(element.completer_timeout);
|
||||
element.completer_timeout = null;
|
||||
}
|
||||
if(word === '') {
|
||||
if(word === '' || word === '-') {
|
||||
element.completions = {};
|
||||
renderCompletions(element);
|
||||
}
|
||||
|
|
Reference in a new issue