unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to configure the appearance of eglot inlay hints?
@ 2023-10-12  5:41 Raincole Lai
  0 siblings, 0 replies; only message in thread
From: Raincole Lai @ 2023-10-12  5:41 UTC (permalink / raw)
  To: help-gnu-emacs

I'm not sure why there seem to be two "styles" of eglot inlay hints by
default.

For example: https://i.imgur.com/d0BqGN3.png (Sorry for external links.
It's impossible to explain my question without an image.)

In this piece of Rust, the inlay hint of "input" looks like "inputString:
", while the inlay hint of "index_digits" looks like "index_digits: usize".

In my opinion, the former is very hard to read. Even worse when the
variable is unused: https://i.imgur.com/CAmYZoM.png

How could I make it look like "input: String", just like how eglot display
the hint for index_digits? Or could I customize the appearance so the inlay
hints have a different background color?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-12  5:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12  5:41 How to configure the appearance of eglot inlay hints? Raincole Lai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).