Skip to content

Commit

Permalink
Color identifiers mode
Browse files Browse the repository at this point in the history
  • Loading branch information
punassuming committed Sep 11, 2015
1 parent 71ce996 commit b772e70
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions layers/colors/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'(
;; not working well for now
;; rainbow-blocks
color-identifiers-mode
rainbow-identifiers
rainbow-mode
))
Expand All @@ -23,6 +24,21 @@
;; :disabled t
;; :init (add-hook 'emacs-lisp-mode-hook 'rainbow-blocks-mode)))

(defun colors/init-color-identifiers-mode ()
(use-package color-identifiers-mode
:commands color-identifiers-mode
:defer t
:init
(progn
(spacemacs|diminish color-identifiers-mode "C " "C ")
(spacemacs|add-toggle color-identifiers-mode
:status color-identifiers-mode
:on (color-identifiers-mode)
:off (color-identifiers-mode -1)
:documentation "Colorize identifiers globally."
:evil-leader "tCI"))))


(defun colors/init-rainbow-identifiers ()
(use-package rainbow-identifiers
:if colors-enable-rainbow-identifiers
Expand Down

0 comments on commit b772e70

Please sign in to comment.