Eglot: find well behaved UTF char for code actions (bug#80326)

* lisp/progmodes/eglot.el (eglot-code-action-indicator): No lighbulb, no
fancy lightning bolt, just use zigzags which seem to display well on
typical fonts and typically have a width of 1.
This commit is contained in:
João Távora 2026-05-02 09:53:20 +01:00
parent 4795e83a69
commit 2207a58899

View file

@ -625,12 +625,12 @@ Note additionally:
:package-version '(Eglot . "1.19"))
(defcustom eglot-code-action-indicator
(cl-loop for c in '(?💡 ?⚡?✓ ?α ??)
(cl-loop for c in '(??⭍ ?✓ ?α ??)
when (char-displayable-p c)
return (make-string 1 c))
"Indicator string for code action suggestions."
:type (let ((basic-choices
(cl-loop for c in '(?💡 ?⚡?✓ ?α ??)
(cl-loop for c in '(??⭍ ?✓ ?α ??)
when (char-displayable-p c)
collect `(const :tag ,(format "Use `%c'" c)
,(make-string 1 c)))))