summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-prog.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/custom/fcuny-prog.el b/emacs/custom/fcuny-prog.el
index 1ca50ca..990f3aa 100644
--- a/emacs/custom/fcuny-prog.el
+++ b/emacs/custom/fcuny-prog.el
@@ -129,4 +129,15 @@
(set (make-local-variable 'compile-command)
"go build -v")))
+(use-package compile
+ :ensure nil
+ :custom
+ (compilation-scroll-output t)
+ ;; Skip over warnings and info messages in compilation
+ (compilation-skip-threshold 2)
+ ;; Don't freeze when process reads from stdin
+ (compilation-disable-input t)
+ ;; Show three lines of context around the current message
+ (compilation-context-lines 3))
+
(provide 'fcuny-prog)