* eldoc-box.el (eldoc-box-markdown-separator): New face.

This commit is contained in:
Yuan Fu 2023-11-14 21:19:13 -08:00
parent 06c905bb4a
commit c36f31074b
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -84,6 +84,10 @@
(defface eldoc-box-body '((t . nil))
"Body face used in documentation childframe.")
(defface eldoc-box-markdown-separator '((t . ( :strike-through t
:height 0.4)))
"Face for the separator line in Markdown.")
(defcustom eldoc-box-lighter " ELDOC-BOX"
"Mode line lighter for all eldoc-box modes.
If the value is nil, no lighter is displayed."
@ -723,8 +727,7 @@ childframe."
(prop-match-beginning prop)
(prop-match-end prop)
`( display ,eldoc-box--markdown-separator-display-props
face ( :strike-through t
:height 0.4)))))))
face eldoc-box-markdown-separator))))))
(defun eldoc-box--replace-en-space ()
"Display the en spaces in documentation as regular spaces."