branch: elpa/helm commit af5e9113c2970995587a610f9f05a1169906eaa3 Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Colorize dependencies in packages installed source --- helm-packages.el | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/helm-packages.el b/helm-packages.el index d55bb783b1..d4ca8cdc69 100644 --- a/helm-packages.el +++ b/helm-packages.el @@ -96,11 +96,20 @@ as dependencies." for version = (and id (mapconcat #'number-to-string (package-desc-version id) ".")) for description = (and id (package-desc-summary id)) for disp = (format "%s%s%s%s%s%s%s%s%s" - (propertize c 'face 'font-lock-keyword-face 'match-part c) + (propertize + c + 'face (if (equal status "dependency") + font-lock-type-face + 'font-lock-keyword-face) + 'match-part c) (make-string (1+ (- (helm-in-buffer-get-longest-candidate) (length c))) ? ) - (or status "") + (propertize + (or status "") + 'face (if (equal status "dependency") + 'bold-italic + 'default)) (make-string (1+ (- 10 (length status))) ? ) (or provider "") (make-string (1+ (- 10 (length provider))) ? )