Skip to content

Eldoc support

Andrey Listopadov requested to merge eldoc into main

This adds support for eldoc and documentation popup for corfu-doc/company-quickhelp and such.

Eldoc displays function signatures and variable documentation in the echo area. For function it highlights argument based on point position: image

Additionally, eldoc can distinguish function vs method calls:

image

Variable documentation can be displayed in the echo line if the point is not on a function call:

image

The documentation popup for corfu-doc looks like this:

image

It supports markdown rendering via optional markdown-mode.

Edited by Andrey Listopadov

Merge request reports