From 2207a588997c3ccd15ad51cf41c4bbdd8b73191f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sat, 2 May 2026 09:53:20 +0100 Subject: [PATCH] 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. --- lisp/progmodes/eglot.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 13d578d550a..b41fd3d2212 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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)))))