Skip to content

Signature documentation consumes entire frame #1315

@WhiteExponent

Description

@WhiteExponent

Describe the bug

When lsp-signature-render-documentation is non-nil, with some functions, the displayed documentation is so large that it occupies almost the entire frame.

To Reproduce
Note: This could probably be encountered in any language, but here I am giving the example that I encountered.

  1. Install python-language-server
  2. Find a Python buffer
  3. Enter open(, and a very large documentation section should open up in the echo area.

Expected behavior
The documentation should (IMO) be limited to at most half the frame, as if it was split with C-x 2.

Which Language Server did you use
lsp-python, but I think it will happen with any language server that supports documentation.

OS
Debian GNU/Linux 10

Screenshot
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions