mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
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:
parent
4795e83a69
commit
2207a58899
1 changed files with 2 additions and 2 deletions
|
|
@ -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)))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue