Skip to content

Redundant line in Python doc popup #4253

@hippie68

Description

@hippie68

How to reproduce:
In .vimrc, put set completeopt-=preview and set completeopt+=popup.
Then open a Python file and type something, for example prin. Press Ctrl-Space to show the completion menu. Press Ctrl-N to select print. A popup will appear.

The bug:
As opposed to what would have happened in a preview scratch buffer, the popup will display the function signature twice (see screenshot).

ycm-popup-bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions