This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/colors/config.el

32 lines
1 KiB
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
2015-02-01 06:31:39 +00:00
"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))
2014-12-18 05:12:04 +00:00
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
colors/key-binding-prefixes)