1

Adjust corfu appearance

This commit is contained in:
Jessie Hildebrandt 2022-12-29 20:40:13 -05:00
parent 0efe1a5c48
commit b7de1a5a49

View File

@ -924,6 +924,8 @@ DOCSTRING is an optional form that is discarded upon expansion."
(corfu-max-width 50 "Limit completion popup width to 50 columns") (corfu-max-width 50 "Limit completion popup width to 50 columns")
(corfu-popupinfo-hide nil "Don't hide doc popups while scrolling between candidates") (corfu-popupinfo-hide nil "Don't hide doc popups while scrolling between candidates")
(corfu-popupinfo-delay 0.1 "Wait 0.1 seconds before showing a doc popup for a candidate") (corfu-popupinfo-delay 0.1 "Wait 0.1 seconds before showing a doc popup for a candidate")
(corfu-popupinfo-max-width 70 "Limit doc popup width to 70 columns")
(corfu-popupinfo-min-height 4 "Ensure doc popups are at least 4 lines tall")
(corfu-echo-documentation nil "Disable displaying documentation strings in the echo area") (corfu-echo-documentation nil "Disable displaying documentation strings in the echo area")
:hook :hook
;; Displaying popups aggressively (i.e. without summoning them with a key press) can ;; Displaying popups aggressively (i.e. without summoning them with a key press) can
@ -1018,6 +1020,7 @@ DOCSTRING is an optional form that is discarded upon expansion."
(add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter) (add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter)
:custom :custom
(kind-icon-use-icons nil "Use stylized text labels instead of graphical badges") (kind-icon-use-icons nil "Use stylized text labels instead of graphical badges")
(kind-icon-blend-frac 0.25 "Brighten background colors with heavy blending from foreground colors")
(kind-icon-default-face 'corfu-default "Stylize characters using the same face as Corfu")) (kind-icon-default-face 'corfu-default "Stylize characters using the same face as Corfu"))
;; ---------------------------------- ;; ;; ---------------------------------- ;;