minad / corfu

:desert_island: corfu.el - COmpletion in Region FUnction
GNU General Public License v3.0
1.06k stars 42 forks source link

"Pretty" formatting for corfu-popupinfo #437

Closed aguynamedben closed 3 months ago

aguynamedben commented 3 months ago

I'm comparing different formatting levels of documentation and am wondering if there's a way to improve corfu-popupinfo's documentation preview (corfu-popupinfo) prettier. This is in Emacs 30.0.50.

corfu-popupinfo-mode

There no syntax highlighting or horizontal rule.

image

the stock eldoc buffer

Nice syntax highlighting and horizontal rule, but not displaying   (from Markdown?) well.

image

eldoc-box

Even nicer. eldoc-box README mentions they do some extra pretty formatting. Maybe it's easy to share code or gain inspiration from that project?

image

company-quickhelp

Not so great either.

image

Is there a way to get prettier formatting in corfu-popupinfo?