Enable evil-cleverparens in prog-mode (not just lisp-mode)

This commit is contained in:
Alexander Rosenberg 2024-09-14 14:50:03 -07:00
parent 06ec526b97
commit af9fc9efdf
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -321,7 +321,7 @@ directory. Otherwise, run `find-file' on that file."
("C-c C-+" . evil-numbers/inc-at-pt-incremental) ("C-c C-+" . evil-numbers/inc-at-pt-incremental)
("C-c C--" . evil-numbers/dec-at-pt-incremental))) ("C-c C--" . evil-numbers/dec-at-pt-incremental)))
(use-package evil-cleverparens (use-package evil-cleverparens
:hook (((lisp-mode emacs-lisp-mode) . evil-cleverparens-mode) :hook ((prog-mode . evil-cleverparens-mode)
(evil-cleverparens-mode . paredit-mode)) (evil-cleverparens-mode . paredit-mode))
:bind (:map paredit-mode-map :bind (:map paredit-mode-map
("C-<return>" . paredit-RET) ("C-<return>" . paredit-RET)