Skip to content

Adjustment of omnicomplete #2606

@wgmzbl

Description

@wgmzbl

I want to show extra information about the currently selected completion in a popup window by put :set completeopt+=popup. But I found it did not work. I run the function vimtex#complete#omnifunc manually and found a lot of things are contained in "menu" item. According to the help doc of "complete-functions", the "menu" item is used in the popup menu and may be truncated, thus it should be relatively short. Hence it is hard to see the detailed info about the selected completion, especially I want to cite papers since the "menu" item is quite long. It is better that I can view them in a popup menu. This is extremely helpful if it can provide us detailed info in a popup menu about the referenced equations and citations, especially when writing a long paper with a large bib file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions