Update autocomplete name to be the label and update ref to use main name as a synonym
This commit is contained in:
parent
8d2a368da9
commit
c199b51645
3 changed files with 11 additions and 6 deletions
|
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue