Update autocomplete name to be the label and update ref to use main name as a synonym

This commit is contained in:
Aria 2025-09-02 16:29:01 -05:00
parent 8d2a368da9
commit c199b51645
3 changed files with 11 additions and 6 deletions

View file

@ -86,7 +86,7 @@ const jsdocCompletions = (() => {
seen.add(label);
completions.push({
label,
info: () => Autocomplete({ doc }),
info: () => Autocomplete({ doc, label }),
type: 'function', // https://codemirror.net/docs/ref/#autocomplete.Completion.type
});
}