spacemacs/contrib/colors/config.el

29 lines
913 B
EmacsLisp
Raw Normal View History

;;; 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
2014-12-18 05:12:04 +00:00
;; ---------------------------------------------------------------------------
;; 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))
2014-12-18 05:12:04 +00:00
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
colors/key-binding-prefixes)