3b36507178
Also always install rainbow-identifiers
28 lines
913 B
EmacsLisp
28 lines
913 B
EmacsLisp
;;; config.el --- Colors Layer configuration File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2014 Sylvain Benner
|
|
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
|
|
;;
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;;; License: GPLv3
|
|
|
|
;; ---------------------------------------------------------------------------
|
|
;; Prefixes
|
|
;; ---------------------------------------------------------------------------
|
|
|
|
;; Variables
|
|
|
|
(defvar colors-enable-rainbow-identifiers nil
|
|
"If non nil the `rainbow-identifers' package is enabled.")
|
|
|
|
;; Command prefixes
|
|
|
|
(setq colors/key-binding-prefixes '(("C" . "colors")))
|
|
(when colors-enable-rainbow-identifiers
|
|
(push (cons "Ci" "colors-identifiers") colors/key-binding-prefixes))
|
|
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
|
|
colors/key-binding-prefixes)
|