[autocomplete] check for completions with and without colons, fixes #1018
This commit is contained in:
parent
37ceebdabd
commit
cd79e4879d
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ function renderCompletions(element) {
|
|||
(key) => {
|
||||
let k = key.toLowerCase();
|
||||
let w = word.toLowerCase();
|
||||
return k.split(':').some((k) => k.startsWith(w))
|
||||
return (k.startsWith(w) || k.split(':').some((k) => k.startsWith(w)))
|
||||
}
|
||||
).slice(0, 100).forEach((key, i) => {
|
||||
let value = completions[key];
|
||||
|
|
Reference in a new issue