From b7fe03ba5cba78fe01f08f3ae0ef97893c99d22a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 21 Nov 2016 16:50:50 -0800 Subject: [Emacs] Add colors for flymake status. --- emacs.d/init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index a17df3a..79160a3 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -191,9 +191,9 @@ (defun fc/flycheck-modeline (errors-count warnings-count info-count) (concat - (format "•%s " errors-count) - (format "•%s " warnings-count) - (format "•%s " info-count))) + (propertize (format "•%s " errors-count) 'face '(:foreground "#FC5C94" :distant-foreground "#A20C41")) + (propertize (format "•%s " warnings-count) 'face '(:foreground "#F3EA98" :distant-foreground "#968B26")) + (propertize (format "•%s " info-count) 'face '(:foreground "#8DE6F7" :distant-foreground "#21889B")))) (setq flycheck-mode-line '(:eval -- cgit 1.4.1