VL
Size: a a a
VL
𝘎(
𝘎(
𝘎(
ND
𝘎(
VL
𝘎(
VL
ND
VL
VL
VL
VL
Aß
(defun my-completion-insert-strings (strings)
"STRINGS."
(when (consp strings)
(let (last)
(dolist (str strings)
(unless (equal str last)
(setq last str)
(let ((begin (point)))
(insert (if (consp str) (car str) str))
(put-text-property begin (point) 'mouse-face 'highlight))
(when (consp str)
(let ((begin (point)))
(insert (cadr str))
(put-text-property begin (point) 'mouse-face nil)
(font-lock-prepend-text-property begin (point) 'face 'completions-annotations)))
(insert "\n"))))))
Aß
(defun my-completion-insert-strings (strings)
"STRINGS."
(when (consp strings)
(let (last)
(dolist (str strings)
(unless (equal str last)
(setq last str)
(let ((begin (point)))
(insert (if (consp str) (car str) str))
(put-text-property begin (point) 'mouse-face 'highlight))
(when (consp str)
(let ((begin (point)))
(insert (cadr str))
(put-text-property begin (point) 'mouse-face nil)
(font-lock-prepend-text-property begin (point) 'face 'completions-annotations)))
(insert "\n"))))))
VL
Aß
(advice-add 'completion--insert-strings :override #'my-completion-insert-strings)
VL