From a0249716b6c680089e2d8293c7545839468fa8bf Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 7 Nov 2024 10:18:48 -0800 Subject: [PATCH] Disable agressive-indent-mode --- disabled.el | 7 +++++++ init.el | 9 +-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/disabled.el b/disabled.el index 7500ce1..ba1d0ad 100644 --- a/disabled.el +++ b/disabled.el @@ -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)) + diff --git a/init.el b/init.el index b3a697b..00a404f 100644 --- a/init.el +++ b/init.el @@ -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