Make completion-preview-common also have an underline

It looks more consistent this way when we type something that goes
from completion-preview-common to completion-preview-exact.
This commit is contained in:
Protesilaos 2026-08-31 18:55:50 +03:00
parent 9a3cd56cc2
commit 27a0ed0260
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -4902,7 +4902,7 @@ If COLOR is unspecified, then return :box unspecified."
;; `completion-preview', then we should remember to customize
;; `completion-preview-adapt-background-color' accordingly.
`(completion-preview-common ((,c :inherit completion-preview :underline t)))
`(completion-preview-exact ((,c :inherit (modus-themes-completion-match-0 completion-preview))))
`(completion-preview-exact ((,c :inherit (modus-themes-completion-match-0 completion-preview) :underline t)))
;;;;; completions
`(completions-annotations ((,c :inherit modus-themes-slant :foreground ,docstring)))
`(completions-common-part ((,c :inherit modus-themes-completion-match-0)))