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/init-package/init-rainbow-delimiters.el
syl20bnr 1ffb42448e Migrate all package configs to use-package.
Total load time for 90+ packages without byte-compiling: 3s... amazing !
Thanks to \@jwiegley :-)
2013-11-20 00:30:48 -05:00

18 lines
641 B
EmacsLisp

(use-package rainbow-delimiters
:defer t
:init
(progn
(defun turn-on-rainbow-delimiters-mode ()
(interactive)
(rainbow-delimiters-mode 1))
(setq-default frame-background-mode 'dark)
(let ((supported-modes '(c-mode-common-hook
emacs-lisp-mode-hook
clojure-mode-hook
javascript-mode-hook
lisp-mode-hook
python-mode-hook
erlang-mode-hook)))
(dolist (hook supported-modes)
(add-hook hook 'turn-on-rainbow-delimiters-mode)))))