Disable agressive-indent-mode

This commit is contained in:
Alexander Rosenberg 2024-11-07 10:18:48 -08:00
parent f9f7badd76
commit a0249716b6
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
2 changed files with 8 additions and 8 deletions

View File

@ -172,3 +172,10 @@
;; flyspell-issue-welcome-flag nil)
;; (define-key flyspell-mode-map (kbd "C-;") nil t)
;; (define-key flyspell-mode-map (kbd "C-,") nil t))
;; (use-package aggressive-indent
;; :hook (prog-mode . aggressive-indent-mode)
;; :config
;; (add-to-list 'aggressive-indent-protected-commands
;; #'evil-undo))

View File

@ -558,14 +558,7 @@ With NO-EDGE, return nil if beg or end fall on the edge of the range."
(advice-add 'sp-region-ok-p :around 'my/-evil-cp-region-ok-p-no-string)
(advice-add 'evil-cp--balanced-block-p :around 'my/-evil-cp-block-ok-p-no-string))
;; make lisp editing nicer
(use-package aggressive-indent
:hook (prog-mode . aggressive-indent-mode)
:config
(add-to-list 'aggressive-indent-protected-commands
#'evil-undo))
;; and nicer
;; better lisp editing
(use-package adjust-parens
:hook (prog-mode . adjust-parens-mode)
:config