spacemacs/contrib/colors/config.el
2015-02-01 01:31:39 -05:00

32 lines
1 KiB
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.")
(defvar colors-enable-nyan-cat nil
"if non nil all nyan cat packges are enabled (for now only `nyan-mode').")
;; 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)