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