From af9fc9efdfa6e383e4bcc668723e8055886d293c Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sat, 14 Sep 2024 14:50:03 -0700 Subject: [PATCH] Enable evil-cleverparens in prog-mode (not just lisp-mode) --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index bb17952..6d42f10 100644 --- a/init.el +++ b/init.el @@ -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/dec-at-pt-incremental))) (use-package evil-cleverparens - :hook (((lisp-mode emacs-lisp-mode) . evil-cleverparens-mode) + :hook ((prog-mode . evil-cleverparens-mode) (evil-cleverparens-mode . paredit-mode)) :bind (:map paredit-mode-map ("C-" . paredit-RET)