27 lines
829 B
EmacsLisp
27 lines
829 B
EmacsLisp
;;; packages.el --- evil-cleverparens Layer packages 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
|
|
|
|
(setq evil-cleverparens-packages
|
|
'(evil-cleverparens))
|
|
|
|
(defun evil-cleverparens/init-evil-cleverparens ()
|
|
(use-package evil-cleverparens
|
|
:defer t
|
|
:diminish evil-cleverparens-mode
|
|
:init
|
|
(progn
|
|
(setq evil-cleverparens-use-regular-insert t)
|
|
(spacemacs|add-toggle evil-cleverparens
|
|
:status evil-cleverparens-mode
|
|
:on (evil-cleverparens-mode)
|
|
:off (evil-cleverparens-mode -1)
|
|
:documentation "Enable evil-cleverparens."))))
|