Use fancy-compilation instead of manual settings
This commit is contained in:
parent
86a4635a81
commit
6c55b50071
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user