diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 86bc41f..25eade7 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -99,19 +99,7 @@ (use-package compile :commands (compile recompile) :bind (("C-z" . recompile) - ("C-S-z" . compile)) - :config - (setq compilation-scroll-output 'first-error) - - (require 'ansi-color) - (add-hook 'compilation-filter-hook - (lambda () - (toggle-read-only 0) - (ansi-color-apply-on-region compilation-filter-start (point)) - (toggle-read-only 1))) - - (add-hook 'compilation-start-hook - (lambda (x) (setq-local scroll-up-aggressively 0.0)))) + ("C-S-z" . compile))) (use-package verilog-mode :config @@ -1167,6 +1155,11 @@ (setf (car (alist-get 'isort apheleia-formatters)) '(pet-executable-find "isort")))) +(use-package fancy-compilation :demand :if (package-installed-p 'fancy-compilation) + :config (fancy-compilation-mode) + :custom + (fancy-compilation-override-colors nil)) + ;;; Local Variables (add-to-list 'safe-local-eval-forms '(outline-hide-body)) ;; Local Variables: