summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2016-11-21 16:50:50 -0800
committerFranck Cuny <franck.cuny@gmail.com>2016-11-21 16:50:50 -0800
commitb7fe03ba5cba78fe01f08f3ae0ef97893c99d22a (patch)
treeacc2d27fcd21f9fa624d70aea94fbb5619148aac
parent[Emacs] Display how long it takes to load the configuration (diff)
downloademacs.d-b7fe03ba5cba78fe01f08f3ae0ef97893c99d22a.tar.gz
[Emacs] Add colors for flymake status.
-rw-r--r--emacs.d/init.el6
1 files 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