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/layers/+vim/evil-cleverparens/packages.el

28 lines
829 B
EmacsLisp
Raw Normal View History

2015-08-24 23:32:31 +00:00
;;; 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."))))