all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.