Skip to content

Enable completion for glossary entries defined with newabbreviation from glossaries-extra #3261

@PatrickJosh

Description

@PatrickJosh

Is your feature request related to a problem? Please describe it.
I use the glossaries-extra package to manage my acronyms. It defines the new command newabbreviation, which enables the usage of multiple acronym categories. The main purpose of the categories is to allow for different styling of acronyms, i.e. that some acronyms use the short form in different places than others. Internally, glossaries-extra redefines the newacronym command from glossaries to use newabbreviation as well; it assigns the acronyms defined with newacronym the default category acronym.

When writing my document, I noticed that I did not have any autocompletion for my glossary entries defined with newabbreviation, but that I could auto-complete them when using newacronym to define them. Hence, I figured that completion for newabbreviation does not exist yet.

Describe the solution you'd like
Just auto-complete entries defined with newabbreviation like the ones defined with newacronym.

Describe alternatives you've considered
Nothing, actually. I suppose it is quite straightforward.

Additional context
Thanks very much for developing and maintaining vimtex! :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions