feat(emacs/lean-company): add custom-variable lean-company-type-foreground

Close #190
This commit is contained in:
Soonho Kong 2014-09-14 20:41:45 -07:00
parent 87ad568ae6
commit d424cdd336
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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