feat(emacs/lean-company): add custom-variable lean-company-type-foreground
Close #190
This commit is contained in:
parent
87ad568ae6
commit
d424cdd336
2 changed files with 6 additions and 1 deletions
|
@ -239,7 +239,7 @@ rep. Then, add text-properties on the replaced region."
|
|||
(after lean-company-fill-propertize activate)
|
||||
(when (eq major-mode 'lean-mode)
|
||||
(let* ((selected (ad-get-arg 3))
|
||||
(foreground-color (face-foreground 'font-lock-keyword-face))
|
||||
(foreground-color lean-company-type-foreground)
|
||||
(background-color (if selected (face-background 'company-tooltip-selection)
|
||||
(face-background 'company-tooltip)))
|
||||
(face-attrs
|
||||
|
|
|
@ -34,6 +34,11 @@
|
|||
:group 'lean
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom lean-company-type-foreground (face-foreground 'font-lock-keyword-face)
|
||||
"Color of type parameter in auto-complete candidates"
|
||||
:group 'lean
|
||||
:type 'color)
|
||||
|
||||
(defcustom lean-eldoc-use t
|
||||
"Use eldoc mode for lean."
|
||||
:group 'lean
|
||||
|
|
Loading…
Reference in a new issue